This project has retired. For details please refer to its Attic page.
Protos.MasterInfo
JavaScript is disabled on your browser.
Skip navigation links
org.apache.mesos

Class Protos.MasterInfo

  • All Implemented Interfaces:
    Protos.MasterInfoOrBuilder
    Enclosing class:
    Protos


    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
    • Method Detail

      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      • hasIp

        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;
        Specified by:
        hasIp in interface Protos.MasterInfoOrBuilder
      • getIp

        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;
        Specified by:
        getIp in interface Protos.MasterInfoOrBuilder
      • hasPort

        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];
        Specified by:
        hasPort in interface Protos.MasterInfoOrBuilder
      • getPort

        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];
        Specified by:
        getPort in interface Protos.MasterInfoOrBuilder
      • hasPid

        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;
        Specified by:
        hasPid in interface Protos.MasterInfoOrBuilder
      • getPid

        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;
        Specified by:
        getPid in interface Protos.MasterInfoOrBuilder
      • getPidBytes

        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;
        Specified by:
        getPidBytes in interface Protos.MasterInfoOrBuilder
      • hasHostname

        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;
        Specified by:
        hasHostname in interface Protos.MasterInfoOrBuilder
      • getHostname

        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;
        Specified by:
        getHostname in interface Protos.MasterInfoOrBuilder
      • getHostnameBytes

        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;
        Specified by:
        getHostnameBytes in interface Protos.MasterInfoOrBuilder
      • hasVersion

        public boolean hasVersion()
         The running Master version, as a string; taken from the
         generated "master/version.hpp".
         
        optional string version = 6;
        Specified by:
        hasVersion in interface Protos.MasterInfoOrBuilder
      • getVersion

        public java.lang.String getVersion()
         The running Master version, as a string; taken from the
         generated "master/version.hpp".
         
        optional string version = 6;
        Specified by:
        getVersion in interface Protos.MasterInfoOrBuilder
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         The running Master version, as a string; taken from the
         generated "master/version.hpp".
         
        optional string version = 6;
        Specified by:
        getVersionBytes in interface Protos.MasterInfoOrBuilder
      • hasAddress

        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;
        Specified by:
        hasAddress in interface Protos.MasterInfoOrBuilder
      • getAddress

        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;
        Specified by:
        getAddress in interface Protos.MasterInfoOrBuilder
      • hasDomain

        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;
        Specified by:
        hasDomain in interface Protos.MasterInfoOrBuilder
      • isInitialized

        public final boolean isInitialized()
      • writeTo

        public void writeTo(com.google.protobuf.CodedOutputStream output)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
      • equals

        public boolean equals(java.lang.Object obj)
      • hashCode

        public int hashCode()
      • parseFrom

        public static Protos.MasterInfo parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.MasterInfo parseFrom(java.nio.ByteBuffer data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.MasterInfo parseFrom(com.google.protobuf.ByteString data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.MasterInfo parseFrom(com.google.protobuf.ByteString data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.MasterInfo parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Protos.MasterInfo parseFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.MasterInfo parseDelimitedFrom(java.io.InputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Protos.MasterInfo parseDelimitedFrom(java.io.InputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.MasterInfo parseFrom(com.google.protobuf.CodedInputStream input)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Protos.MasterInfo parseFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

        protected Protos.MasterInfo.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      • parser

        public static <any> parser()
      • getParserForType

        public <any> getParserForType()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /