public static final class Protos.MachineID extends com.google.protobuf.GeneratedMessageV3 implements Protos.MachineIDOrBuilder
Represents a single machine, which may hold one or more slaves. NOTE: In order to match a slave to a machine, both the `hostname` and `ip` must match the values advertised by the slave to the master. Hostname is not case-sensitive.Protobuf type
mesos.MachineID
Modifier and Type | Class and Description |
---|---|
static class |
Protos.MachineID.Builder
Represents a single machine, which may hold one or more slaves.
|
Modifier and Type | Field and Description |
---|---|
static int |
HOSTNAME_FIELD_NUMBER |
static int |
IP_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.MachineID |
getDefaultInstance() |
Protos.MachineID |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getHostname()
optional string hostname = 1; |
com.google.protobuf.ByteString |
getHostnameBytes()
optional string hostname = 1; |
java.lang.String |
getIp()
optional string ip = 2; |
com.google.protobuf.ByteString |
getIpBytes()
optional string ip = 2; |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHostname()
optional string hostname = 1; |
boolean |
hasIp()
optional string ip = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.MachineID.Builder |
newBuilder() |
static Protos.MachineID.Builder |
newBuilder(Protos.MachineID prototype) |
Protos.MachineID.Builder |
newBuilderForType() |
protected Protos.MachineID.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.MachineID |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.MachineID |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineID |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineID |
parseFrom(java.nio.ByteBuffer data) |
static Protos.MachineID |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineID |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.MachineID |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineID |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.MachineID |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MachineID |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.MachineID.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int HOSTNAME_FIELD_NUMBER
public static final int IP_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 hasHostname()
optional string hostname = 1;
hasHostname
in interface Protos.MachineIDOrBuilder
public java.lang.String getHostname()
optional string hostname = 1;
getHostname
in interface Protos.MachineIDOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
optional string hostname = 1;
getHostnameBytes
in interface Protos.MachineIDOrBuilder
public boolean hasIp()
optional string ip = 2;
hasIp
in interface Protos.MachineIDOrBuilder
public java.lang.String getIp()
optional string ip = 2;
getIp
in interface Protos.MachineIDOrBuilder
public com.google.protobuf.ByteString getIpBytes()
optional string ip = 2;
getIpBytes
in interface Protos.MachineIDOrBuilder
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.MachineID parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineID parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineID parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineID parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineID parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MachineID parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.MachineID parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.MachineID parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.MachineID parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.MachineID parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.MachineID.Builder newBuilderForType()
public static Protos.MachineID.Builder newBuilder()
public static Protos.MachineID.Builder newBuilder(Protos.MachineID prototype)
public Protos.MachineID.Builder toBuilder()
protected Protos.MachineID.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.MachineID getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.MachineID getDefaultInstanceForType()