This project has retired. For details please refer to its Attic page.
Protos.Resource.DiskInfo.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.Builder

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

        public Protos.Resource.DiskInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
         int index,
         java.lang.Object value)
      • isInitialized

        public final boolean isInitialized()
      • mergeFrom

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

        public boolean hasVolume()
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
        Specified by:
        hasVolume in interface Protos.Resource.DiskInfoOrBuilder
      • getVolume

        public Protos.Volume getVolume()
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
        Specified by:
        getVolume in interface Protos.Resource.DiskInfoOrBuilder
      • setVolume

        public Protos.Resource.DiskInfo.Builder setVolume(Protos.Volume value)
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
      • setVolume

        public Protos.Resource.DiskInfo.Builder setVolume(Protos.Volume.Builder builderForValue)
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
      • mergeVolume

        public Protos.Resource.DiskInfo.Builder mergeVolume(Protos.Volume value)
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
      • clearVolume

        public Protos.Resource.DiskInfo.Builder clearVolume()
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
      • getVolumeBuilder

        public Protos.Volume.Builder getVolumeBuilder()
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
      • getVolumeOrBuilder

        public Protos.VolumeOrBuilder getVolumeOrBuilder()
         Describes how this disk resource will be mounted in the
         container. If not set, the disk resource will be used as the
         sandbox. Otherwise, it will be mounted according to the
         'container_path' inside 'volume'. The 'host_path' inside
         'volume' is ignored.
         NOTE: If 'volume' is set but 'persistence' is not set, the
         volume will be automatically garbage collected after
         task/executor terminates. Currently, if 'persistence' is set,
         'volume' must be set.
         
        optional .mesos.Volume volume = 2;
        Specified by:
        getVolumeOrBuilder in interface Protos.Resource.DiskInfoOrBuilder
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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