Class Mount.Builder

  • All Implemented Interfaces:
    MountOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    Mount

    public static final class Mount.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
    implements MountOrBuilder
     Carries information about a particular disk mount inside a container.
     
    Protobuf type google.cloud.lifesciences.v2beta.Mount
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Mount.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      Mount build()  
      Mount buildPartial()  
      Mount.Builder clear()  
      Mount.Builder clearDisk()
      The name of the disk to mount, as specified in the resources section.
      Mount.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)  
      Mount.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)  
      Mount.Builder clearPath()
      The path to mount the disk inside the container.
      Mount.Builder clearReadOnly()
      If true, the disk is mounted read-only inside the container.
      Mount.Builder clone()  
      Mount getDefaultInstanceForType()  
      static com.google.protobuf.Descriptors.Descriptor getDescriptor()  
      com.google.protobuf.Descriptors.Descriptor getDescriptorForType()  
      String getDisk()
      The name of the disk to mount, as specified in the resources section.
      com.google.protobuf.ByteString getDiskBytes()
      The name of the disk to mount, as specified in the resources section.
      String getPath()
      The path to mount the disk inside the container.
      com.google.protobuf.ByteString getPathBytes()
      The path to mount the disk inside the container.
      boolean getReadOnly()
      If true, the disk is mounted read-only inside the container.
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()  
      boolean isInitialized()  
      Mount.Builder mergeFrom​(Mount other)  
      Mount.Builder mergeFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      Mount.Builder mergeFrom​(com.google.protobuf.Message other)  
      Mount.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      Mount.Builder setDisk​(String value)
      The name of the disk to mount, as specified in the resources section.
      Mount.Builder setDiskBytes​(com.google.protobuf.ByteString value)
      The name of the disk to mount, as specified in the resources section.
      Mount.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)  
      Mount.Builder setPath​(String value)
      The path to mount the disk inside the container.
      Mount.Builder setPathBytes​(com.google.protobuf.ByteString value)
      The path to mount the disk inside the container.
      Mount.Builder setReadOnly​(boolean value)
      If true, the disk is mounted read-only inside the container.
      Mount.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)  
      Mount.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)  
      • Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder

        getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
      • Methods inherited from class com.google.protobuf.AbstractMessage.Builder

        findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from interface com.google.protobuf.Message.Builder

        mergeDelimitedFrom, mergeDelimitedFrom
      • Methods inherited from interface com.google.protobuf.MessageLite.Builder

        mergeFrom
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • clear

        public Mount.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • getDefaultInstanceForType

        public Mount getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Mount build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Mount buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Mount.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • setField

        public Mount.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                      Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • clearField

        public Mount.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • clearOneof

        public Mount.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • setRepeatedField

        public Mount.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              int index,
                                              Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • addRepeatedField

        public Mount.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                              Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • mergeFrom

        public Mount.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Mount.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • mergeFrom

        public Mount.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Mount.Builder>
        Throws:
        IOException
      • getDisk

        public String getDisk()
         The name of the disk to mount, as specified in the resources section.
         
        string disk = 1;
        Specified by:
        getDisk in interface MountOrBuilder
        Returns:
        The disk.
      • getDiskBytes

        public com.google.protobuf.ByteString getDiskBytes()
         The name of the disk to mount, as specified in the resources section.
         
        string disk = 1;
        Specified by:
        getDiskBytes in interface MountOrBuilder
        Returns:
        The bytes for disk.
      • setDisk

        public Mount.Builder setDisk​(String value)
         The name of the disk to mount, as specified in the resources section.
         
        string disk = 1;
        Parameters:
        value - The disk to set.
        Returns:
        This builder for chaining.
      • clearDisk

        public Mount.Builder clearDisk()
         The name of the disk to mount, as specified in the resources section.
         
        string disk = 1;
        Returns:
        This builder for chaining.
      • setDiskBytes

        public Mount.Builder setDiskBytes​(com.google.protobuf.ByteString value)
         The name of the disk to mount, as specified in the resources section.
         
        string disk = 1;
        Parameters:
        value - The bytes for disk to set.
        Returns:
        This builder for chaining.
      • getPath

        public String getPath()
         The path to mount the disk inside the container.
         
        string path = 2;
        Specified by:
        getPath in interface MountOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         The path to mount the disk inside the container.
         
        string path = 2;
        Specified by:
        getPathBytes in interface MountOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public Mount.Builder setPath​(String value)
         The path to mount the disk inside the container.
         
        string path = 2;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public Mount.Builder clearPath()
         The path to mount the disk inside the container.
         
        string path = 2;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Mount.Builder setPathBytes​(com.google.protobuf.ByteString value)
         The path to mount the disk inside the container.
         
        string path = 2;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • getReadOnly

        public boolean getReadOnly()
         If true, the disk is mounted read-only inside the container.
         
        bool read_only = 3;
        Specified by:
        getReadOnly in interface MountOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public Mount.Builder setReadOnly​(boolean value)
         If true, the disk is mounted read-only inside the container.
         
        bool read_only = 3;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Mount.Builder clearReadOnly()
         If true, the disk is mounted read-only inside the container.
         
        bool read_only = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Mount.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>
      • mergeUnknownFields

        public final Mount.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Mount.Builder>