public static final class Protos.Address extends com.google.protobuf.GeneratedMessageV3 implements Protos.AddressOrBuilder
A network address. TODO(bmahler): Use this more widely.Protobuf type
mesos.Address
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Address.Builder
A network address.
|
Modifier and Type | Field and Description |
---|---|
static int |
HOSTNAME_FIELD_NUMBER |
static int |
IP_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
PORT_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Address |
getDefaultInstance() |
Protos.Address |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getHostname()
May contain a hostname, IP address, or both.
|
com.google.protobuf.ByteString |
getHostnameBytes()
May contain a hostname, IP address, or both.
|
java.lang.String |
getIp()
optional string ip = 2; |
com.google.protobuf.ByteString |
getIpBytes()
optional string ip = 2; |
<any> |
getParserForType() |
int |
getPort()
required int32 port = 3; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasHostname()
May contain a hostname, IP address, or both.
|
boolean |
hasIp()
optional string ip = 2; |
boolean |
hasPort()
required int32 port = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Address.Builder |
newBuilder() |
static Protos.Address.Builder |
newBuilder(Protos.Address prototype) |
Protos.Address.Builder |
newBuilderForType() |
protected Protos.Address.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Address |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Address |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Address |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Address |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Address |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Address |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Address |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Address |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Address |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Address |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Address.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int HOSTNAME_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
public static final int PORT_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()
May contain a hostname, IP address, or both.
optional string hostname = 1;
hasHostname
in interface Protos.AddressOrBuilder
public java.lang.String getHostname()
May contain a hostname, IP address, or both.
optional string hostname = 1;
getHostname
in interface Protos.AddressOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
May contain a hostname, IP address, or both.
optional string hostname = 1;
getHostnameBytes
in interface Protos.AddressOrBuilder
public boolean hasIp()
optional string ip = 2;
hasIp
in interface Protos.AddressOrBuilder
public java.lang.String getIp()
optional string ip = 2;
getIp
in interface Protos.AddressOrBuilder
public com.google.protobuf.ByteString getIpBytes()
optional string ip = 2;
getIpBytes
in interface Protos.AddressOrBuilder
public boolean hasPort()
required int32 port = 3;
hasPort
in interface Protos.AddressOrBuilder
public int getPort()
required int32 port = 3;
getPort
in interface Protos.AddressOrBuilder
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.Address parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Address parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Address parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Address parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Address parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Address parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Address parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Address parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Address parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Address parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Address.Builder newBuilderForType()
public static Protos.Address.Builder newBuilder()
public static Protos.Address.Builder newBuilder(Protos.Address prototype)
public Protos.Address.Builder toBuilder()
protected Protos.Address.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Address getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Address getDefaultInstanceForType()