public static final class Protos.MachineInfo.Builder extends <any> implements Protos.MachineInfoOrBuilder
Holds information about a single machine, its `mode`, and any other relevant information which may affect the behavior of the machine.Protobuf type
mesos.MachineInfo
Modifier and Type | Method and Description |
---|---|
Protos.MachineInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.MachineInfo |
build() |
Protos.MachineInfo |
buildPartial() |
Protos.MachineInfo.Builder |
clear() |
Protos.MachineInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.MachineInfo.Builder |
clearId()
required .mesos.MachineID id = 1; |
Protos.MachineInfo.Builder |
clearMode()
optional .mesos.MachineInfo.Mode mode = 2; |
Protos.MachineInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.MachineInfo.Builder |
clearUnavailability()
Signifies that the machine may be unavailable during the given interval.
|
Protos.MachineInfo.Builder |
clone() |
Protos.MachineInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.MachineID |
getId()
required .mesos.MachineID id = 1; |
Protos.MachineID.Builder |
getIdBuilder()
required .mesos.MachineID id = 1; |
Protos.MachineIDOrBuilder |
getIdOrBuilder()
required .mesos.MachineID id = 1; |
Protos.MachineInfo.Mode |
getMode()
optional .mesos.MachineInfo.Mode mode = 2; |
Protos.Unavailability |
getUnavailability()
Signifies that the machine may be unavailable during the given interval.
|
Protos.Unavailability.Builder |
getUnavailabilityBuilder()
Signifies that the machine may be unavailable during the given interval.
|
Protos.UnavailabilityOrBuilder |
getUnavailabilityOrBuilder()
Signifies that the machine may be unavailable during the given interval.
|
boolean |
hasId()
required .mesos.MachineID id = 1; |
boolean |
hasMode()
optional .mesos.MachineInfo.Mode mode = 2; |
boolean |
hasUnavailability()
Signifies that the machine may be unavailable during the given interval.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.MachineInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.MachineInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.MachineInfo.Builder |
mergeId(Protos.MachineID value)
required .mesos.MachineID id = 1; |
Protos.MachineInfo.Builder |
mergeUnavailability(Protos.Unavailability value)
Signifies that the machine may be unavailable during the given interval.
|
Protos.MachineInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.MachineInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.MachineInfo.Builder |
setId(Protos.MachineID.Builder builderForValue)
required .mesos.MachineID id = 1; |
Protos.MachineInfo.Builder |
setId(Protos.MachineID value)
required .mesos.MachineID id = 1; |
Protos.MachineInfo.Builder |
setMode(Protos.MachineInfo.Mode value)
optional .mesos.MachineInfo.Mode mode = 2; |
Protos.MachineInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.MachineInfo.Builder |
setUnavailability(Protos.Unavailability.Builder builderForValue)
Signifies that the machine may be unavailable during the given interval.
|
Protos.MachineInfo.Builder |
setUnavailability(Protos.Unavailability value)
Signifies that the machine may be unavailable during the given interval.
|
Protos.MachineInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.MachineInfo.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.MachineInfo getDefaultInstanceForType()
public Protos.MachineInfo build()
public Protos.MachineInfo buildPartial()
public Protos.MachineInfo.Builder clone()
public Protos.MachineInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.MachineInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.MachineInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.MachineInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.MachineInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.MachineInfo.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.MachineInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasId()
required .mesos.MachineID id = 1;
hasId
in interface Protos.MachineInfoOrBuilder
public Protos.MachineID getId()
required .mesos.MachineID id = 1;
getId
in interface Protos.MachineInfoOrBuilder
public Protos.MachineInfo.Builder setId(Protos.MachineID value)
required .mesos.MachineID id = 1;
public Protos.MachineInfo.Builder setId(Protos.MachineID.Builder builderForValue)
required .mesos.MachineID id = 1;
public Protos.MachineInfo.Builder mergeId(Protos.MachineID value)
required .mesos.MachineID id = 1;
public Protos.MachineInfo.Builder clearId()
required .mesos.MachineID id = 1;
public Protos.MachineID.Builder getIdBuilder()
required .mesos.MachineID id = 1;
public Protos.MachineIDOrBuilder getIdOrBuilder()
required .mesos.MachineID id = 1;
getIdOrBuilder
in interface Protos.MachineInfoOrBuilder
public boolean hasMode()
optional .mesos.MachineInfo.Mode mode = 2;
hasMode
in interface Protos.MachineInfoOrBuilder
public Protos.MachineInfo.Mode getMode()
optional .mesos.MachineInfo.Mode mode = 2;
getMode
in interface Protos.MachineInfoOrBuilder
public Protos.MachineInfo.Builder setMode(Protos.MachineInfo.Mode value)
optional .mesos.MachineInfo.Mode mode = 2;
public Protos.MachineInfo.Builder clearMode()
optional .mesos.MachineInfo.Mode mode = 2;
public boolean hasUnavailability()
Signifies that the machine may be unavailable during the given interval. See comments in `Unavailability` and for the `unavailability` fields in `Offer` and `InverseOffer` for more information.
optional .mesos.Unavailability unavailability = 3;
hasUnavailability
in interface Protos.MachineInfoOrBuilder
public Protos.Unavailability getUnavailability()
Signifies that the machine may be unavailable during the given interval. See comments in `Unavailability` and for the `unavailability` fields in `Offer` and `InverseOffer` for more information.
optional .mesos.Unavailability unavailability = 3;
getUnavailability
in interface Protos.MachineInfoOrBuilder
public Protos.MachineInfo.Builder setUnavailability(Protos.Unavailability value)
Signifies that the machine may be unavailable during the given interval. See comments in `Unavailability` and for the `unavailability` fields in `Offer` and `InverseOffer` for more information.
optional .mesos.Unavailability unavailability = 3;
public Protos.MachineInfo.Builder setUnavailability(Protos.Unavailability.Builder builderForValue)
Signifies that the machine may be unavailable during the given interval. See comments in `Unavailability` and for the `unavailability` fields in `Offer` and `InverseOffer` for more information.
optional .mesos.Unavailability unavailability = 3;
public Protos.MachineInfo.Builder mergeUnavailability(Protos.Unavailability value)
Signifies that the machine may be unavailable during the given interval. See comments in `Unavailability` and for the `unavailability` fields in `Offer` and `InverseOffer` for more information.
optional .mesos.Unavailability unavailability = 3;
public Protos.MachineInfo.Builder clearUnavailability()
Signifies that the machine may be unavailable during the given interval. See comments in `Unavailability` and for the `unavailability` fields in `Offer` and `InverseOffer` for more information.
optional .mesos.Unavailability unavailability = 3;
public Protos.Unavailability.Builder getUnavailabilityBuilder()
Signifies that the machine may be unavailable during the given interval. See comments in `Unavailability` and for the `unavailability` fields in `Offer` and `InverseOffer` for more information.
optional .mesos.Unavailability unavailability = 3;
public Protos.UnavailabilityOrBuilder getUnavailabilityOrBuilder()
Signifies that the machine may be unavailable during the given interval. See comments in `Unavailability` and for the `unavailability` fields in `Offer` and `InverseOffer` for more information.
optional .mesos.Unavailability unavailability = 3;
getUnavailabilityOrBuilder
in interface Protos.MachineInfoOrBuilder
public final Protos.MachineInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.MachineInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)