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

Class Protos.ResourceProviderInfo

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


    public static final class Protos.ResourceProviderInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements Protos.ResourceProviderInfoOrBuilder 
     Describes a resource provider. Note that the 'id' field is only available
     after a resource provider is registered with the master, and is made
     available here to facilitate re-registration.
     
    Protobuf type mesos.ResourceProviderInfo
    • Field Detail

      • ATTRIBUTES_FIELD_NUMBER

        public static final int ATTRIBUTES_FIELD_NUMBER
        See Also:
        Constant Field Values
      • DEFAULT_RESERVATIONS_FIELD_NUMBER

        public static final int DEFAULT_RESERVATIONS_FIELD_NUMBER
        See Also:
        Constant Field Values
      • PARSER

        @Deprecated
        public static final <any> PARSER
        Deprecated.
    • 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()
      • hasType

        public boolean hasType()
         The type of the resource provider. This uniquely identifies a
         resource provider implementation. For instance:
         org.apache.mesos.rp.local.storage
         Please follow to Java package naming convention
         (https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
         to avoid conflicts on type names.
         
        required string type = 3;
        Specified by:
        hasType in interface Protos.ResourceProviderInfoOrBuilder
      • getType

        public java.lang.String getType()
         The type of the resource provider. This uniquely identifies a
         resource provider implementation. For instance:
         org.apache.mesos.rp.local.storage
         Please follow to Java package naming convention
         (https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
         to avoid conflicts on type names.
         
        required string type = 3;
        Specified by:
        getType in interface Protos.ResourceProviderInfoOrBuilder
      • getTypeBytes

        public com.google.protobuf.ByteString getTypeBytes()
         The type of the resource provider. This uniquely identifies a
         resource provider implementation. For instance:
         org.apache.mesos.rp.local.storage
         Please follow to Java package naming convention
         (https://en.wikipedia.org/wiki/Java_package#Package_naming_conventions)
         to avoid conflicts on type names.
         
        required string type = 3;
        Specified by:
        getTypeBytes in interface Protos.ResourceProviderInfoOrBuilder
      • hasName

        public boolean hasName()
         The name of the resource provider. There could be multiple
         instances of a type of resource provider. The name field is used
         to distinguish these instances. It should be a legal Java identifier
         (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html)
         to avoid conflicts on concatenation of type and name.
         
        required string name = 4;
        Specified by:
        hasName in interface Protos.ResourceProviderInfoOrBuilder
      • getName

        public java.lang.String getName()
         The name of the resource provider. There could be multiple
         instances of a type of resource provider. The name field is used
         to distinguish these instances. It should be a legal Java identifier
         (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html)
         to avoid conflicts on concatenation of type and name.
         
        required string name = 4;
        Specified by:
        getName in interface Protos.ResourceProviderInfoOrBuilder
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         The name of the resource provider. There could be multiple
         instances of a type of resource provider. The name field is used
         to distinguish these instances. It should be a legal Java identifier
         (https://docs.oracle.com/javase/tutorial/java/nutsandbolts/variables.html)
         to avoid conflicts on concatenation of type and name.
         
        required string name = 4;
        Specified by:
        getNameBytes in interface Protos.ResourceProviderInfoOrBuilder
      • getDefaultReservationsList

        public java.util.List<Protos.Resource.ReservationInfo> getDefaultReservationsList()
         The stack of default reservations. If this field is not empty, it
         indicates that resources from this resource provider are reserved
         by default, except for the resources that have been reserved or
         unreserved through operations. The first `ReservationInfo`
         may have type `STATIC` or `DYNAMIC`, but the rest must have
         `DYNAMIC`. One can create a new reservation on top of an existing
         one by pushing a new `ReservationInfo` to the back. The last
         `ReservationInfo` in this stack is the "current" reservation. The
         new reservation's role must be a child of the current one.
         
        repeated .mesos.Resource.ReservationInfo default_reservations = 5;
        Specified by:
        getDefaultReservationsList in interface Protos.ResourceProviderInfoOrBuilder
      • getDefaultReservationsOrBuilderList

        public java.util.List<? extends Protos.Resource.ReservationInfoOrBuilder> getDefaultReservationsOrBuilderList()
         The stack of default reservations. If this field is not empty, it
         indicates that resources from this resource provider are reserved
         by default, except for the resources that have been reserved or
         unreserved through operations. The first `ReservationInfo`
         may have type `STATIC` or `DYNAMIC`, but the rest must have
         `DYNAMIC`. One can create a new reservation on top of an existing
         one by pushing a new `ReservationInfo` to the back. The last
         `ReservationInfo` in this stack is the "current" reservation. The
         new reservation's role must be a child of the current one.
         
        repeated .mesos.Resource.ReservationInfo default_reservations = 5;
        Specified by:
        getDefaultReservationsOrBuilderList in interface Protos.ResourceProviderInfoOrBuilder
      • getDefaultReservationsCount

        public int getDefaultReservationsCount()
         The stack of default reservations. If this field is not empty, it
         indicates that resources from this resource provider are reserved
         by default, except for the resources that have been reserved or
         unreserved through operations. The first `ReservationInfo`
         may have type `STATIC` or `DYNAMIC`, but the rest must have
         `DYNAMIC`. One can create a new reservation on top of an existing
         one by pushing a new `ReservationInfo` to the back. The last
         `ReservationInfo` in this stack is the "current" reservation. The
         new reservation's role must be a child of the current one.
         
        repeated .mesos.Resource.ReservationInfo default_reservations = 5;
        Specified by:
        getDefaultReservationsCount in interface Protos.ResourceProviderInfoOrBuilder
      • getDefaultReservations

        public Protos.Resource.ReservationInfo getDefaultReservations(int index)
         The stack of default reservations. If this field is not empty, it
         indicates that resources from this resource provider are reserved
         by default, except for the resources that have been reserved or
         unreserved through operations. The first `ReservationInfo`
         may have type `STATIC` or `DYNAMIC`, but the rest must have
         `DYNAMIC`. One can create a new reservation on top of an existing
         one by pushing a new `ReservationInfo` to the back. The last
         `ReservationInfo` in this stack is the "current" reservation. The
         new reservation's role must be a child of the current one.
         
        repeated .mesos.Resource.ReservationInfo default_reservations = 5;
        Specified by:
        getDefaultReservations in interface Protos.ResourceProviderInfoOrBuilder
      • getDefaultReservationsOrBuilder

        public Protos.Resource.ReservationInfoOrBuilder getDefaultReservationsOrBuilder(int index)
         The stack of default reservations. If this field is not empty, it
         indicates that resources from this resource provider are reserved
         by default, except for the resources that have been reserved or
         unreserved through operations. The first `ReservationInfo`
         may have type `STATIC` or `DYNAMIC`, but the rest must have
         `DYNAMIC`. One can create a new reservation on top of an existing
         one by pushing a new `ReservationInfo` to the back. The last
         `ReservationInfo` in this stack is the "current" reservation. The
         new reservation's role must be a child of the current one.
         
        repeated .mesos.Resource.ReservationInfo default_reservations = 5;
        Specified by:
        getDefaultReservationsOrBuilder in interface Protos.ResourceProviderInfoOrBuilder
      • 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.ResourceProviderInfo parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

        public static Protos.ResourceProviderInfo 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.ResourceProviderInfo parseFrom(byte[] data,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

        public static <any> parser()
      • getParserForType

        public <any> getParserForType()
Skip navigation links

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