Class Generated.CSIPersistentVolumeSource.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection​(int number)
        Overrides:
        internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIPersistentVolumeSource.Builder>
      • internalGetMutableMapFieldReflection

        protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection​(int number)
        Overrides:
        internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIPersistentVolumeSource.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIPersistentVolumeSource.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.CSIPersistentVolumeSource.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.CSIPersistentVolumeSource 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.CSIPersistentVolumeSource.Builder>
      • setDriver

        public Generated.CSIPersistentVolumeSource.Builder setDriver​(String value)
         driver is the name of the driver to use for this volume.
         Required.
         
        optional string driver = 1;
        Parameters:
        value - The driver to set.
        Returns:
        This builder for chaining.
      • setDriverBytes

        public Generated.CSIPersistentVolumeSource.Builder setDriverBytes​(com.google.protobuf.ByteString value)
         driver is the name of the driver to use for this volume.
         Required.
         
        optional string driver = 1;
        Parameters:
        value - The bytes for driver to set.
        Returns:
        This builder for chaining.
      • hasVolumeHandle

        public boolean hasVolumeHandle()
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Specified by:
        hasVolumeHandle in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the volumeHandle field is set.
      • getVolumeHandle

        public String getVolumeHandle()
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Specified by:
        getVolumeHandle in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The volumeHandle.
      • getVolumeHandleBytes

        public com.google.protobuf.ByteString getVolumeHandleBytes()
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Specified by:
        getVolumeHandleBytes in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for volumeHandle.
      • setVolumeHandle

        public Generated.CSIPersistentVolumeSource.Builder setVolumeHandle​(String value)
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Parameters:
        value - The volumeHandle to set.
        Returns:
        This builder for chaining.
      • clearVolumeHandle

        public Generated.CSIPersistentVolumeSource.Builder clearVolumeHandle()
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Returns:
        This builder for chaining.
      • setVolumeHandleBytes

        public Generated.CSIPersistentVolumeSource.Builder setVolumeHandleBytes​(com.google.protobuf.ByteString value)
         volumeHandle is the unique volume name returned by the CSI volume
         plugin’s CreateVolume to refer to the volume on all subsequent calls.
         Required.
         
        optional string volumeHandle = 2;
        Parameters:
        value - The bytes for volumeHandle to set.
        Returns:
        This builder for chaining.
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly value to pass to ControllerPublishVolumeRequest.
         Defaults to false (read/write).
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        hasReadOnly in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly value to pass to ControllerPublishVolumeRequest.
         Defaults to false (read/write).
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        getReadOnly in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public Generated.CSIPersistentVolumeSource.Builder setReadOnly​(boolean value)
         readOnly value to pass to ControllerPublishVolumeRequest.
         Defaults to false (read/write).
         +optional
         
        optional bool readOnly = 3;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.CSIPersistentVolumeSource.Builder clearReadOnly()
         readOnly value to pass to ControllerPublishVolumeRequest.
         Defaults to false (read/write).
         +optional
         
        optional bool readOnly = 3;
        Returns:
        This builder for chaining.
      • hasFsType

        public boolean hasFsType()
         fsType to mount. Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         +optional
         
        optional string fsType = 4;
        Specified by:
        hasFsType in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the fsType field is set.
      • getFsTypeBytes

        public com.google.protobuf.ByteString getFsTypeBytes()
         fsType to mount. Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         +optional
         
        optional string fsType = 4;
        Specified by:
        getFsTypeBytes in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for fsType.
      • setFsType

        public Generated.CSIPersistentVolumeSource.Builder setFsType​(String value)
         fsType to mount. Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         +optional
         
        optional string fsType = 4;
        Parameters:
        value - The fsType to set.
        Returns:
        This builder for chaining.
      • clearFsType

        public Generated.CSIPersistentVolumeSource.Builder clearFsType()
         fsType to mount. Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         +optional
         
        optional string fsType = 4;
        Returns:
        This builder for chaining.
      • setFsTypeBytes

        public Generated.CSIPersistentVolumeSource.Builder setFsTypeBytes​(com.google.protobuf.ByteString value)
         fsType to mount. Must be a filesystem type supported by the host operating system.
         Ex. "ext4", "xfs", "ntfs".
         +optional
         
        optional string fsType = 4;
        Parameters:
        value - The bytes for fsType to set.
        Returns:
        This builder for chaining.
      • getMutableVolumeAttributes

        @Deprecated
        public Map<String,​String> getMutableVolumeAttributes()
        Deprecated.
        Use alternate mutation accessors instead.
      • hasControllerPublishSecretRef

        public boolean hasControllerPublishSecretRef()
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
        Specified by:
        hasControllerPublishSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the controllerPublishSecretRef field is set.
      • getControllerPublishSecretRef

        public Generated.SecretReference getControllerPublishSecretRef()
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
        Specified by:
        getControllerPublishSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The controllerPublishSecretRef.
      • setControllerPublishSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setControllerPublishSecretRef​(Generated.SecretReference value)
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
      • setControllerPublishSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setControllerPublishSecretRef​(Generated.SecretReference.Builder builderForValue)
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
      • mergeControllerPublishSecretRef

        public Generated.CSIPersistentVolumeSource.Builder mergeControllerPublishSecretRef​(Generated.SecretReference value)
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
      • clearControllerPublishSecretRef

        public Generated.CSIPersistentVolumeSource.Builder clearControllerPublishSecretRef()
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
      • getControllerPublishSecretRefBuilder

        public Generated.SecretReference.Builder getControllerPublishSecretRefBuilder()
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
      • getControllerPublishSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getControllerPublishSecretRefOrBuilder()
         controllerPublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerPublishVolume and ControllerUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
        Specified by:
        getControllerPublishSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • hasNodeStageSecretRef

        public boolean hasNodeStageSecretRef()
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
        Specified by:
        hasNodeStageSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the nodeStageSecretRef field is set.
      • getNodeStageSecretRef

        public Generated.SecretReference getNodeStageSecretRef()
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
        Specified by:
        getNodeStageSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The nodeStageSecretRef.
      • setNodeStageSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setNodeStageSecretRef​(Generated.SecretReference value)
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
      • setNodeStageSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setNodeStageSecretRef​(Generated.SecretReference.Builder builderForValue)
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
      • mergeNodeStageSecretRef

        public Generated.CSIPersistentVolumeSource.Builder mergeNodeStageSecretRef​(Generated.SecretReference value)
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
      • clearNodeStageSecretRef

        public Generated.CSIPersistentVolumeSource.Builder clearNodeStageSecretRef()
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
      • getNodeStageSecretRefBuilder

        public Generated.SecretReference.Builder getNodeStageSecretRefBuilder()
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
      • getNodeStageSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getNodeStageSecretRefOrBuilder()
         nodeStageSecretRef is a reference to the secret object containing sensitive
         information to pass to the CSI driver to complete the CSI NodeStageVolume
         and NodeStageVolume and NodeUnstageVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
        Specified by:
        getNodeStageSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • hasNodePublishSecretRef

        public boolean hasNodePublishSecretRef()
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
        Specified by:
        hasNodePublishSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the nodePublishSecretRef field is set.
      • getNodePublishSecretRef

        public Generated.SecretReference getNodePublishSecretRef()
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
        Specified by:
        getNodePublishSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The nodePublishSecretRef.
      • setNodePublishSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setNodePublishSecretRef​(Generated.SecretReference value)
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
      • setNodePublishSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setNodePublishSecretRef​(Generated.SecretReference.Builder builderForValue)
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
      • mergeNodePublishSecretRef

        public Generated.CSIPersistentVolumeSource.Builder mergeNodePublishSecretRef​(Generated.SecretReference value)
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
      • clearNodePublishSecretRef

        public Generated.CSIPersistentVolumeSource.Builder clearNodePublishSecretRef()
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
      • getNodePublishSecretRefBuilder

        public Generated.SecretReference.Builder getNodePublishSecretRefBuilder()
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
      • getNodePublishSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getNodePublishSecretRefOrBuilder()
         nodePublishSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodePublishVolume and NodeUnpublishVolume calls.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
        Specified by:
        getNodePublishSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • hasControllerExpandSecretRef

        public boolean hasControllerExpandSecretRef()
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
        Specified by:
        hasControllerExpandSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the controllerExpandSecretRef field is set.
      • getControllerExpandSecretRef

        public Generated.SecretReference getControllerExpandSecretRef()
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
        Specified by:
        getControllerExpandSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The controllerExpandSecretRef.
      • setControllerExpandSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setControllerExpandSecretRef​(Generated.SecretReference value)
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
      • setControllerExpandSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setControllerExpandSecretRef​(Generated.SecretReference.Builder builderForValue)
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
      • mergeControllerExpandSecretRef

        public Generated.CSIPersistentVolumeSource.Builder mergeControllerExpandSecretRef​(Generated.SecretReference value)
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
      • clearControllerExpandSecretRef

        public Generated.CSIPersistentVolumeSource.Builder clearControllerExpandSecretRef()
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
      • getControllerExpandSecretRefBuilder

        public Generated.SecretReference.Builder getControllerExpandSecretRefBuilder()
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
      • getControllerExpandSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getControllerExpandSecretRefOrBuilder()
         controllerExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         ControllerExpandVolume call.
         This field is optional, and may be empty if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;
        Specified by:
        getControllerExpandSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder
      • hasNodeExpandSecretRef

        public boolean hasNodeExpandSecretRef()
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
        Specified by:
        hasNodeExpandSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        Whether the nodeExpandSecretRef field is set.
      • getNodeExpandSecretRef

        public Generated.SecretReference getNodeExpandSecretRef()
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
        Specified by:
        getNodeExpandSecretRef in interface Generated.CSIPersistentVolumeSourceOrBuilder
        Returns:
        The nodeExpandSecretRef.
      • setNodeExpandSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setNodeExpandSecretRef​(Generated.SecretReference value)
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
      • setNodeExpandSecretRef

        public Generated.CSIPersistentVolumeSource.Builder setNodeExpandSecretRef​(Generated.SecretReference.Builder builderForValue)
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
      • mergeNodeExpandSecretRef

        public Generated.CSIPersistentVolumeSource.Builder mergeNodeExpandSecretRef​(Generated.SecretReference value)
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
      • clearNodeExpandSecretRef

        public Generated.CSIPersistentVolumeSource.Builder clearNodeExpandSecretRef()
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
      • getNodeExpandSecretRefBuilder

        public Generated.SecretReference.Builder getNodeExpandSecretRefBuilder()
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
      • getNodeExpandSecretRefOrBuilder

        public Generated.SecretReferenceOrBuilder getNodeExpandSecretRefOrBuilder()
         nodeExpandSecretRef is a reference to the secret object containing
         sensitive information to pass to the CSI driver to complete the CSI
         NodeExpandVolume call.
         This field is optional, may be omitted if no secret is required. If the
         secret object contains more than one secret, all secrets are passed.
         +optional
         
        optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;
        Specified by:
        getNodeExpandSecretRefOrBuilder in interface Generated.CSIPersistentVolumeSourceOrBuilder