public static final class Protos.MasterInfo extends com.google.protobuf.GeneratedMessageV3 implements Protos.MasterInfoOrBuilder
Describes a master. This will probably have more fields in the future which might be used, for example, to link a framework webui to a master webui.Protobuf type
mesos.MasterInfo
Modifier and Type | Class and Description |
---|---|
static class |
Protos.MasterInfo.Builder
Describes a master.
|
static class |
Protos.MasterInfo.Capability
Protobuf type
mesos.MasterInfo.Capability |
static interface |
Protos.MasterInfo.CapabilityOrBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS_FIELD_NUMBER |
static int |
CAPABILITIES_FIELD_NUMBER |
static int |
DOMAIN_FIELD_NUMBER |
static int |
HOSTNAME_FIELD_NUMBER |
static int |
ID_FIELD_NUMBER |
static int |
IP_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
PID_FIELD_NUMBER |
static int |
PORT_FIELD_NUMBER |
static int |
VERSION_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Address |
getAddress()
The full IP address (supports both IPv4 and IPv6 formats)
and supersedes the use of `ip`, `port` and `hostname`.
|
Protos.AddressOrBuilder |
getAddressOrBuilder()
The full IP address (supports both IPv4 and IPv6 formats)
and supersedes the use of `ip`, `port` and `hostname`.
|
Protos.MasterInfo.Capability |
getCapabilities(int index)
repeated .mesos.MasterInfo.Capability capabilities = 9; |
int |
getCapabilitiesCount()
repeated .mesos.MasterInfo.Capability capabilities = 9; |
java.util.List<Protos.MasterInfo.Capability> |
getCapabilitiesList()
repeated .mesos.MasterInfo.Capability capabilities = 9; |
Protos.MasterInfo.CapabilityOrBuilder |
getCapabilitiesOrBuilder(int index)
repeated .mesos.MasterInfo.Capability capabilities = 9; |
java.util.List<? extends Protos.MasterInfo.CapabilityOrBuilder> |
getCapabilitiesOrBuilderList()
repeated .mesos.MasterInfo.Capability capabilities = 9; |
static Protos.MasterInfo |
getDefaultInstance() |
Protos.MasterInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.DomainInfo |
getDomain()
The domain that this master belongs to.
|
Protos.DomainInfoOrBuilder |
getDomainOrBuilder()
The domain that this master belongs to.
|
java.lang.String |
getHostname()
The server's hostname, if available; it may be unreliable
in environments where the DNS configuration does not resolve
internal hostnames (eg, some public cloud providers).
|
com.google.protobuf.ByteString |
getHostnameBytes()
The server's hostname, if available; it may be unreliable
in environments where the DNS configuration does not resolve
internal hostnames (eg, some public cloud providers).
|
java.lang.String |
getId()
required string id = 1; |
com.google.protobuf.ByteString |
getIdBytes()
required string id = 1; |
int |
getIp()
The IP address (only IPv4) as a packed 4-bytes integer,
stored in network order.
|
<any> |
getParserForType() |
java.lang.String |
getPid()
In the default implementation, this will contain information
about both the IP address, port and Master name; it should really
not be relied upon by external tooling/frameworks and be
considered an "internal" implementation field.
|
com.google.protobuf.ByteString |
getPidBytes()
In the default implementation, this will contain information
about both the IP address, port and Master name; it should really
not be relied upon by external tooling/frameworks and be
considered an "internal" implementation field.
|
int |
getPort()
The TCP port the Master is listening on for incoming
HTTP requests; deprecated, use `address.port` instead.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getVersion()
The running Master version, as a string; taken from the
generated "master/version.hpp".
|
com.google.protobuf.ByteString |
getVersionBytes()
The running Master version, as a string; taken from the
generated "master/version.hpp".
|
boolean |
hasAddress()
The full IP address (supports both IPv4 and IPv6 formats)
and supersedes the use of `ip`, `port` and `hostname`.
|
boolean |
hasDomain()
The domain that this master belongs to.
|
int |
hashCode() |
boolean |
hasHostname()
The server's hostname, if available; it may be unreliable
in environments where the DNS configuration does not resolve
internal hostnames (eg, some public cloud providers).
|
boolean |
hasId()
required string id = 1; |
boolean |
hasIp()
The IP address (only IPv4) as a packed 4-bytes integer,
stored in network order.
|
boolean |
hasPid()
In the default implementation, this will contain information
about both the IP address, port and Master name; it should really
not be relied upon by external tooling/frameworks and be
considered an "internal" implementation field.
|
boolean |
hasPort()
The TCP port the Master is listening on for incoming
HTTP requests; deprecated, use `address.port` instead.
|
boolean |
hasVersion()
The running Master version, as a string; taken from the
generated "master/version.hpp".
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.MasterInfo.Builder |
newBuilder() |
static Protos.MasterInfo.Builder |
newBuilder(Protos.MasterInfo prototype) |
Protos.MasterInfo.Builder |
newBuilderForType() |
protected Protos.MasterInfo.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.MasterInfo |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.MasterInfo |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MasterInfo |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MasterInfo |
parseFrom(java.nio.ByteBuffer data) |
static Protos.MasterInfo |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MasterInfo |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.MasterInfo |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MasterInfo |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.MasterInfo |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.MasterInfo |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.MasterInfo.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int ID_FIELD_NUMBER
public static final int IP_FIELD_NUMBER
public static final int PORT_FIELD_NUMBER
public static final int PID_FIELD_NUMBER
public static final int HOSTNAME_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
public static final int DOMAIN_FIELD_NUMBER
public static final int CAPABILITIES_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 string id = 1;
hasId
in interface Protos.MasterInfoOrBuilder
public java.lang.String getId()
required string id = 1;
getId
in interface Protos.MasterInfoOrBuilder
public com.google.protobuf.ByteString getIdBytes()
required string id = 1;
getIdBytes
in interface Protos.MasterInfoOrBuilder
public boolean hasIp()
The IP address (only IPv4) as a packed 4-bytes integer, stored in network order. Deprecated, use `address.ip` instead.
required uint32 ip = 2;
hasIp
in interface Protos.MasterInfoOrBuilder
public int getIp()
The IP address (only IPv4) as a packed 4-bytes integer, stored in network order. Deprecated, use `address.ip` instead.
required uint32 ip = 2;
getIp
in interface Protos.MasterInfoOrBuilder
public boolean hasPort()
The TCP port the Master is listening on for incoming HTTP requests; deprecated, use `address.port` instead.
required uint32 port = 3 [default = 5050];
hasPort
in interface Protos.MasterInfoOrBuilder
public int getPort()
The TCP port the Master is listening on for incoming HTTP requests; deprecated, use `address.port` instead.
required uint32 port = 3 [default = 5050];
getPort
in interface Protos.MasterInfoOrBuilder
public boolean hasPid()
In the default implementation, this will contain information about both the IP address, port and Master name; it should really not be relied upon by external tooling/frameworks and be considered an "internal" implementation field.
optional string pid = 4;
hasPid
in interface Protos.MasterInfoOrBuilder
public java.lang.String getPid()
In the default implementation, this will contain information about both the IP address, port and Master name; it should really not be relied upon by external tooling/frameworks and be considered an "internal" implementation field.
optional string pid = 4;
getPid
in interface Protos.MasterInfoOrBuilder
public com.google.protobuf.ByteString getPidBytes()
In the default implementation, this will contain information about both the IP address, port and Master name; it should really not be relied upon by external tooling/frameworks and be considered an "internal" implementation field.
optional string pid = 4;
getPidBytes
in interface Protos.MasterInfoOrBuilder
public boolean hasHostname()
The server's hostname, if available; it may be unreliable in environments where the DNS configuration does not resolve internal hostnames (eg, some public cloud providers). Deprecated, use `address.hostname` instead.
optional string hostname = 5;
hasHostname
in interface Protos.MasterInfoOrBuilder
public java.lang.String getHostname()
The server's hostname, if available; it may be unreliable in environments where the DNS configuration does not resolve internal hostnames (eg, some public cloud providers). Deprecated, use `address.hostname` instead.
optional string hostname = 5;
getHostname
in interface Protos.MasterInfoOrBuilder
public com.google.protobuf.ByteString getHostnameBytes()
The server's hostname, if available; it may be unreliable in environments where the DNS configuration does not resolve internal hostnames (eg, some public cloud providers). Deprecated, use `address.hostname` instead.
optional string hostname = 5;
getHostnameBytes
in interface Protos.MasterInfoOrBuilder
public boolean hasVersion()
The running Master version, as a string; taken from the generated "master/version.hpp".
optional string version = 6;
hasVersion
in interface Protos.MasterInfoOrBuilder
public java.lang.String getVersion()
The running Master version, as a string; taken from the generated "master/version.hpp".
optional string version = 6;
getVersion
in interface Protos.MasterInfoOrBuilder
public com.google.protobuf.ByteString getVersionBytes()
The running Master version, as a string; taken from the generated "master/version.hpp".
optional string version = 6;
getVersionBytes
in interface Protos.MasterInfoOrBuilder
public boolean hasAddress()
The full IP address (supports both IPv4 and IPv6 formats) and supersedes the use of `ip`, `port` and `hostname`. Since Mesos 0.24.
optional .mesos.Address address = 7;
hasAddress
in interface Protos.MasterInfoOrBuilder
public Protos.Address getAddress()
The full IP address (supports both IPv4 and IPv6 formats) and supersedes the use of `ip`, `port` and `hostname`. Since Mesos 0.24.
optional .mesos.Address address = 7;
getAddress
in interface Protos.MasterInfoOrBuilder
public Protos.AddressOrBuilder getAddressOrBuilder()
The full IP address (supports both IPv4 and IPv6 formats) and supersedes the use of `ip`, `port` and `hostname`. Since Mesos 0.24.
optional .mesos.Address address = 7;
getAddressOrBuilder
in interface Protos.MasterInfoOrBuilder
public boolean hasDomain()
The domain that this master belongs to. All masters in a Mesos cluster should belong to the same region.
optional .mesos.DomainInfo domain = 8;
hasDomain
in interface Protos.MasterInfoOrBuilder
public Protos.DomainInfo getDomain()
The domain that this master belongs to. All masters in a Mesos cluster should belong to the same region.
optional .mesos.DomainInfo domain = 8;
getDomain
in interface Protos.MasterInfoOrBuilder
public Protos.DomainInfoOrBuilder getDomainOrBuilder()
The domain that this master belongs to. All masters in a Mesos cluster should belong to the same region.
optional .mesos.DomainInfo domain = 8;
getDomainOrBuilder
in interface Protos.MasterInfoOrBuilder
public java.util.List<Protos.MasterInfo.Capability> getCapabilitiesList()
repeated .mesos.MasterInfo.Capability capabilities = 9;
getCapabilitiesList
in interface Protos.MasterInfoOrBuilder
public java.util.List<? extends Protos.MasterInfo.CapabilityOrBuilder> getCapabilitiesOrBuilderList()
repeated .mesos.MasterInfo.Capability capabilities = 9;
getCapabilitiesOrBuilderList
in interface Protos.MasterInfoOrBuilder
public int getCapabilitiesCount()
repeated .mesos.MasterInfo.Capability capabilities = 9;
getCapabilitiesCount
in interface Protos.MasterInfoOrBuilder
public Protos.MasterInfo.Capability getCapabilities(int index)
repeated .mesos.MasterInfo.Capability capabilities = 9;
getCapabilities
in interface Protos.MasterInfoOrBuilder
public Protos.MasterInfo.CapabilityOrBuilder getCapabilitiesOrBuilder(int index)
repeated .mesos.MasterInfo.Capability capabilities = 9;
getCapabilitiesOrBuilder
in interface Protos.MasterInfoOrBuilder
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.MasterInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MasterInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MasterInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MasterInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MasterInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.MasterInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.MasterInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.MasterInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.MasterInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.MasterInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.MasterInfo.Builder newBuilderForType()
public static Protos.MasterInfo.Builder newBuilder()
public static Protos.MasterInfo.Builder newBuilder(Protos.MasterInfo prototype)
public Protos.MasterInfo.Builder toBuilder()
protected Protos.MasterInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.MasterInfo getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.MasterInfo getDefaultInstanceForType()