public static final class Protos.MachineInfo extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
Protos.MachineInfo.Builder
Holds information about a single machine, its `mode`, and any other
relevant information which may affect the behavior of the machine.
|
static class |
Protos.MachineInfo.Mode
Describes the several states that a machine can be in.
|
Modifier and Type | Field and Description |
---|---|
static int |
ID_FIELD_NUMBER |
static int |
MODE_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
UNAVAILABILITY_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.MachineInfo |
getDefaultInstance() |
Protos.MachineInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.MachineID |
getId()
required .mesos.MachineID id = 1; |
Protos.MachineIDOrBuilder |
getIdOrBuilder()
required .mesos.MachineID id = 1; |
Protos.MachineInfo.Mode |
getMode()
optional .mesos.MachineInfo.Mode mode = 2; |
<any> |
getParserForType() |
int |
getSerializedSize() |
Protos.Unavailability |
getUnavailability()
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
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() |
static Protos.MachineInfo.Builder |
newBuilder() |
static Protos.MachineInfo.Builder |
newBuilder(Protos.MachineInfo prototype) |
Protos.MachineInfo.Builder |
newBuilderForType() |
protected Protos.MachineInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.MachineInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.MachineInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.MachineInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.MachineInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.MachineInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.MachineInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int ID_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER
public static final int UNAVAILABILITY_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
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.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 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.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 boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.MachineInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.MachineInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.MachineInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.MachineInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.MachineInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.MachineInfo.Builder newBuilderForType()
public static Protos.MachineInfo.Builder newBuilder()
public static Protos.MachineInfo.Builder newBuilder(Protos.MachineInfo prototype)
public Protos.MachineInfo.Builder toBuilder()
protected Protos.MachineInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.MachineInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.MachineInfo getDefaultInstanceForType()