Class Generated.PortworxVolumeSource.Builder

    • 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<Generated.PortworxVolumeSource.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<Generated.PortworxVolumeSource.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.PortworxVolumeSource buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

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

        public Generated.PortworxVolumeSource.Builder setVolumeID​(String value)
         volumeID uniquely identifies a Portworx volume
         
        optional string volumeID = 1;
        Parameters:
        value - The volumeID to set.
        Returns:
        This builder for chaining.
      • clearVolumeID

        public Generated.PortworxVolumeSource.Builder clearVolumeID()
         volumeID uniquely identifies a Portworx volume
         
        optional string volumeID = 1;
        Returns:
        This builder for chaining.
      • setVolumeIDBytes

        public Generated.PortworxVolumeSource.Builder setVolumeIDBytes​(com.google.protobuf.ByteString value)
         volumeID uniquely identifies a Portworx volume
         
        optional string volumeID = 1;
        Parameters:
        value - The bytes for volumeID to set.
        Returns:
        This builder for chaining.
      • hasFsType

        public boolean hasFsType()
         fSType represents the filesystem type to mount
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
         
        optional string fsType = 2;
        Specified by:
        hasFsType in interface Generated.PortworxVolumeSourceOrBuilder
        Returns:
        Whether the fsType field is set.
      • getFsType

        public String getFsType()
         fSType represents the filesystem type to mount
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
         
        optional string fsType = 2;
        Specified by:
        getFsType in interface Generated.PortworxVolumeSourceOrBuilder
        Returns:
        The fsType.
      • getFsTypeBytes

        public com.google.protobuf.ByteString getFsTypeBytes()
         fSType represents the filesystem type to mount
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
         
        optional string fsType = 2;
        Specified by:
        getFsTypeBytes in interface Generated.PortworxVolumeSourceOrBuilder
        Returns:
        The bytes for fsType.
      • setFsType

        public Generated.PortworxVolumeSource.Builder setFsType​(String value)
         fSType represents the filesystem type to mount
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
         
        optional string fsType = 2;
        Parameters:
        value - The fsType to set.
        Returns:
        This builder for chaining.
      • clearFsType

        public Generated.PortworxVolumeSource.Builder clearFsType()
         fSType represents the filesystem type to mount
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
         
        optional string fsType = 2;
        Returns:
        This builder for chaining.
      • setFsTypeBytes

        public Generated.PortworxVolumeSource.Builder setFsTypeBytes​(com.google.protobuf.ByteString value)
         fSType represents the filesystem type to mount
         Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
         
        optional string fsType = 2;
        Parameters:
        value - The bytes for fsType to set.
        Returns:
        This builder for chaining.
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        hasReadOnly in interface Generated.PortworxVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        getReadOnly in interface Generated.PortworxVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public Generated.PortworxVolumeSource.Builder setReadOnly​(boolean value)
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 3;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.PortworxVolumeSource.Builder clearReadOnly()
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 3;
        Returns:
        This builder for chaining.