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

Class Protos.Volume.Builder

  • All Implemented Interfaces:
    Protos.VolumeOrBuilder
    Enclosing class:
    Protos.Volume


    public static final class Protos.Volume.Builder
    extends <any>
    implements Protos.VolumeOrBuilder 
     Describes a volume mapping either from host to container or vice
     versa. Both paths can either refer to a directory or a file.
     
    Protobuf type mesos.Volume
    • 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()
      • getDefaultInstanceForType

        public Protos.Volume getDefaultInstanceForType()
      • setField

        public Protos.Volume.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field,
         java.lang.Object value)
      • clearField

        public Protos.Volume.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      • clearOneof

        public Protos.Volume.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      • setRepeatedField

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

        public Protos.Volume.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
         java.lang.Object value)
      • isInitialized

        public final boolean isInitialized()
      • mergeFrom

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

        public boolean hasMode()
         TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0.
         
        required .mesos.Volume.Mode mode = 3;
        Specified by:
        hasMode in interface Protos.VolumeOrBuilder
      • clearMode

        public Protos.Volume.Builder clearMode()
         TODO(gyliu513): Make this as `optional` after deprecation cycle of 1.0.
         
        required .mesos.Volume.Mode mode = 3;
      • hasContainerPath

        public boolean hasContainerPath()
         Path pointing to a directory or file in the container. If the path
         is a relative path, it is relative to the container work directory.
         If the path is an absolute path and the container does not have its
         own rootfs, that path must already exist in the agent host rootfs.
         
        required string container_path = 1;
        Specified by:
        hasContainerPath in interface Protos.VolumeOrBuilder
      • getContainerPath

        public java.lang.String getContainerPath()
         Path pointing to a directory or file in the container. If the path
         is a relative path, it is relative to the container work directory.
         If the path is an absolute path and the container does not have its
         own rootfs, that path must already exist in the agent host rootfs.
         
        required string container_path = 1;
        Specified by:
        getContainerPath in interface Protos.VolumeOrBuilder
      • getContainerPathBytes

        public com.google.protobuf.ByteString getContainerPathBytes()
         Path pointing to a directory or file in the container. If the path
         is a relative path, it is relative to the container work directory.
         If the path is an absolute path and the container does not have its
         own rootfs, that path must already exist in the agent host rootfs.
         
        required string container_path = 1;
        Specified by:
        getContainerPathBytes in interface Protos.VolumeOrBuilder
      • setContainerPath

        public Protos.Volume.Builder setContainerPath(java.lang.String value)
         Path pointing to a directory or file in the container. If the path
         is a relative path, it is relative to the container work directory.
         If the path is an absolute path and the container does not have its
         own rootfs, that path must already exist in the agent host rootfs.
         
        required string container_path = 1;
      • clearContainerPath

        public Protos.Volume.Builder clearContainerPath()
         Path pointing to a directory or file in the container. If the path
         is a relative path, it is relative to the container work directory.
         If the path is an absolute path and the container does not have its
         own rootfs, that path must already exist in the agent host rootfs.
         
        required string container_path = 1;
      • setContainerPathBytes

        public Protos.Volume.Builder setContainerPathBytes(com.google.protobuf.ByteString value)
         Path pointing to a directory or file in the container. If the path
         is a relative path, it is relative to the container work directory.
         If the path is an absolute path and the container does not have its
         own rootfs, that path must already exist in the agent host rootfs.
         
        required string container_path = 1;
      • hasHostPath

        public boolean hasHostPath()
         Absolute path pointing to a directory or file on the host or a
         path relative to the container work directory.
         
        optional string host_path = 2;
        Specified by:
        hasHostPath in interface Protos.VolumeOrBuilder
      • getHostPath

        public java.lang.String getHostPath()
         Absolute path pointing to a directory or file on the host or a
         path relative to the container work directory.
         
        optional string host_path = 2;
        Specified by:
        getHostPath in interface Protos.VolumeOrBuilder
      • getHostPathBytes

        public com.google.protobuf.ByteString getHostPathBytes()
         Absolute path pointing to a directory or file on the host or a
         path relative to the container work directory.
         
        optional string host_path = 2;
        Specified by:
        getHostPathBytes in interface Protos.VolumeOrBuilder
      • setHostPath

        public Protos.Volume.Builder setHostPath(java.lang.String value)
         Absolute path pointing to a directory or file on the host or a
         path relative to the container work directory.
         
        optional string host_path = 2;
      • clearHostPath

        public Protos.Volume.Builder clearHostPath()
         Absolute path pointing to a directory or file on the host or a
         path relative to the container work directory.
         
        optional string host_path = 2;
      • setHostPathBytes

        public Protos.Volume.Builder setHostPathBytes(com.google.protobuf.ByteString value)
         Absolute path pointing to a directory or file on the host or a
         path relative to the container work directory.
         
        optional string host_path = 2;
      • hasImage

        public boolean hasImage()
         The source of the volume is an Image which describes a root
         filesystem which will be provisioned by Mesos.
         
        optional .mesos.Image image = 4;
        Specified by:
        hasImage in interface Protos.VolumeOrBuilder
      • getImage

        public Protos.Image getImage()
         The source of the volume is an Image which describes a root
         filesystem which will be provisioned by Mesos.
         
        optional .mesos.Image image = 4;
        Specified by:
        getImage in interface Protos.VolumeOrBuilder
      • setImage

        public Protos.Volume.Builder setImage(Protos.Image value)
         The source of the volume is an Image which describes a root
         filesystem which will be provisioned by Mesos.
         
        optional .mesos.Image image = 4;
      • setImage

        public Protos.Volume.Builder setImage(Protos.Image.Builder builderForValue)
         The source of the volume is an Image which describes a root
         filesystem which will be provisioned by Mesos.
         
        optional .mesos.Image image = 4;
      • mergeImage

        public Protos.Volume.Builder mergeImage(Protos.Image value)
         The source of the volume is an Image which describes a root
         filesystem which will be provisioned by Mesos.
         
        optional .mesos.Image image = 4;
      • clearImage

        public Protos.Volume.Builder clearImage()
         The source of the volume is an Image which describes a root
         filesystem which will be provisioned by Mesos.
         
        optional .mesos.Image image = 4;
      • getImageBuilder

        public Protos.Image.Builder getImageBuilder()
         The source of the volume is an Image which describes a root
         filesystem which will be provisioned by Mesos.
         
        optional .mesos.Image image = 4;
      • setUnknownFields

        public final Protos.Volume.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      • mergeUnknownFields

        public final Protos.Volume.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

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