This project has retired. For details please refer to its Attic page.
Protos.Resource.DiskInfo.Persistence.Builder
JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
org.apache.mesos

Class Protos.Resource.DiskInfo.Persistence.Builder

  • All Implemented Interfaces:
    Protos.Resource.DiskInfo.PersistenceOrBuilder
    Enclosing class:
    Protos.Resource.DiskInfo.Persistence


    public static final class Protos.Resource.DiskInfo.Persistence.Builder
    extends <any>
    implements Protos.Resource.DiskInfo.PersistenceOrBuilder 
     Describes a persistent disk volume.
     A persistent disk volume will not be automatically garbage
     collected if the task/executor/slave terminates, but will be
     re-offered to the framework(s) belonging to the 'role'.
     NOTE: Currently, we do not allow persistent disk volumes
     without a reservation (i.e., 'role' cannot be '*').
     
    Protobuf type mesos.Resource.DiskInfo.Persistence
    • Method Detail

      • getDescriptor

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

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

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      • isInitialized

        public final boolean isInitialized()
      • mergeFrom

        public Protos.Resource.DiskInfo.Persistence.Builder mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry)
         throws java.io.IOException
        Throws:
        java.io.IOException
      • hasId

        public boolean hasId()
         A unique ID for the persistent disk volume. This ID must be
         unique per role on each slave. Although it is possible to use
         the same ID on different slaves in the cluster and to reuse
         IDs after a volume with that ID has been destroyed, both
         practices are discouraged.
         
        required string id = 1;
        Specified by:
        hasId in interface Protos.Resource.DiskInfo.PersistenceOrBuilder
      • getId

        public java.lang.String getId()
         A unique ID for the persistent disk volume. This ID must be
         unique per role on each slave. Although it is possible to use
         the same ID on different slaves in the cluster and to reuse
         IDs after a volume with that ID has been destroyed, both
         practices are discouraged.
         
        required string id = 1;
        Specified by:
        getId in interface Protos.Resource.DiskInfo.PersistenceOrBuilder
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
         A unique ID for the persistent disk volume. This ID must be
         unique per role on each slave. Although it is possible to use
         the same ID on different slaves in the cluster and to reuse
         IDs after a volume with that ID has been destroyed, both
         practices are discouraged.
         
        required string id = 1;
        Specified by:
        getIdBytes in interface Protos.Resource.DiskInfo.PersistenceOrBuilder
      • setId

        public Protos.Resource.DiskInfo.Persistence.Builder setId(java.lang.String value)
         A unique ID for the persistent disk volume. This ID must be
         unique per role on each slave. Although it is possible to use
         the same ID on different slaves in the cluster and to reuse
         IDs after a volume with that ID has been destroyed, both
         practices are discouraged.
         
        required string id = 1;
      • clearId

        public Protos.Resource.DiskInfo.Persistence.Builder clearId()
         A unique ID for the persistent disk volume. This ID must be
         unique per role on each slave. Although it is possible to use
         the same ID on different slaves in the cluster and to reuse
         IDs after a volume with that ID has been destroyed, both
         practices are discouraged.
         
        required string id = 1;
      • setIdBytes

        public Protos.Resource.DiskInfo.Persistence.Builder setIdBytes(com.google.protobuf.ByteString value)
         A unique ID for the persistent disk volume. This ID must be
         unique per role on each slave. Although it is possible to use
         the same ID on different slaves in the cluster and to reuse
         IDs after a volume with that ID has been destroyed, both
         practices are discouraged.
         
        required string id = 1;
      • hasPrincipal

        public boolean hasPrincipal()
         This field indicates the principal of the operator or
         framework that created this volume. It is used in conjunction
         with the "destroy" ACL to determine whether an entity
         attempting to destroy the volume is permitted to do so.
         NOTE: This field should match the FrameworkInfo.principal of
         the framework that created the volume.
         
        optional string principal = 2;
        Specified by:
        hasPrincipal in interface Protos.Resource.DiskInfo.PersistenceOrBuilder
      • getPrincipal

        public java.lang.String getPrincipal()
         This field indicates the principal of the operator or
         framework that created this volume. It is used in conjunction
         with the "destroy" ACL to determine whether an entity
         attempting to destroy the volume is permitted to do so.
         NOTE: This field should match the FrameworkInfo.principal of
         the framework that created the volume.
         
        optional string principal = 2;
        Specified by:
        getPrincipal in interface Protos.Resource.DiskInfo.PersistenceOrBuilder
      • getPrincipalBytes

        public com.google.protobuf.ByteString getPrincipalBytes()
         This field indicates the principal of the operator or
         framework that created this volume. It is used in conjunction
         with the "destroy" ACL to determine whether an entity
         attempting to destroy the volume is permitted to do so.
         NOTE: This field should match the FrameworkInfo.principal of
         the framework that created the volume.
         
        optional string principal = 2;
        Specified by:
        getPrincipalBytes in interface Protos.Resource.DiskInfo.PersistenceOrBuilder
      • setPrincipal

        public Protos.Resource.DiskInfo.Persistence.Builder setPrincipal(java.lang.String value)
         This field indicates the principal of the operator or
         framework that created this volume. It is used in conjunction
         with the "destroy" ACL to determine whether an entity
         attempting to destroy the volume is permitted to do so.
         NOTE: This field should match the FrameworkInfo.principal of
         the framework that created the volume.
         
        optional string principal = 2;
      • clearPrincipal

        public Protos.Resource.DiskInfo.Persistence.Builder clearPrincipal()
         This field indicates the principal of the operator or
         framework that created this volume. It is used in conjunction
         with the "destroy" ACL to determine whether an entity
         attempting to destroy the volume is permitted to do so.
         NOTE: This field should match the FrameworkInfo.principal of
         the framework that created the volume.
         
        optional string principal = 2;
      • setPrincipalBytes

        public Protos.Resource.DiskInfo.Persistence.Builder setPrincipalBytes(com.google.protobuf.ByteString value)
         This field indicates the principal of the operator or
         framework that created this volume. It is used in conjunction
         with the "destroy" ACL to determine whether an entity
         attempting to destroy the volume is permitted to do so.
         NOTE: This field should match the FrameworkInfo.principal of
         the framework that created the volume.
         
        optional string principal = 2;
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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