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

Class Protos.Resource.AllocationInfo

  • All Implemented Interfaces:
    Protos.Resource.AllocationInfoOrBuilder
    Enclosing class:
    Protos.Resource


    public static final class Protos.Resource.AllocationInfo
    extends com.google.protobuf.GeneratedMessageV3
    implements Protos.Resource.AllocationInfoOrBuilder 
     This was initially introduced to support MULTI_ROLE capable
     frameworks. Frameworks that are not MULTI_ROLE capable can
     continue to assume that the offered resources are allocated
     to their role.
     
    Protobuf type mesos.Resource.AllocationInfo
    • Field Detail

      • 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()
      • hasRole

        public boolean hasRole()
         If set, this resource is allocated to a role. Note that in the
         future, this may be unset and the scheduler may be responsible
         for allocating to one of its roles.
         
        optional string role = 1;
        Specified by:
        hasRole in interface Protos.Resource.AllocationInfoOrBuilder
      • getRole

        public java.lang.String getRole()
         If set, this resource is allocated to a role. Note that in the
         future, this may be unset and the scheduler may be responsible
         for allocating to one of its roles.
         
        optional string role = 1;
        Specified by:
        getRole in interface Protos.Resource.AllocationInfoOrBuilder
      • getRoleBytes

        public com.google.protobuf.ByteString getRoleBytes()
         If set, this resource is allocated to a role. Note that in the
         future, this may be unset and the scheduler may be responsible
         for allocating to one of its roles.
         
        optional string role = 1;
        Specified by:
        getRoleBytes in interface Protos.Resource.AllocationInfoOrBuilder
      • 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.Resource.AllocationInfo parseFrom(java.nio.ByteBuffer data)
         throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

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

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

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

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

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

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

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

        public static Protos.Resource.AllocationInfo 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 によって変換されたページ (->オリジナル) /