Class V1.CSIPersistentVolumeSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>
io.kubernetes.client.proto.V1.CSIPersistentVolumeSource.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.CSIPersistentVolumeSourceOrBuilder, Cloneable
Enclosing class:
V1.CSIPersistentVolumeSource

public static final class V1.CSIPersistentVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder> implements V1.CSIPersistentVolumeSourceOrBuilder
 Represents storage that is managed by an external CSI volume driver (Beta feature)
 
Protobuf type k8s.io.api.core.v1.CSIPersistentVolumeSource
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.MapField internalGetMapField(int number)
      Overrides:
      internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>
    • internalGetMutableMapField

      protected com.google.protobuf.MapField internalGetMutableMapField(int number)
      Overrides:
      internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>
    • internalGetFieldAccessorTable

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

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1.CSIPersistentVolumeSource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<V1.CSIPersistentVolumeSource.Builder>
    • setField

      public V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>
    • clearField

      public V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>
    • clearOneof

      public V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>
    • setRepeatedField

      public V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>
    • addRepeatedField

      public V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>
    • mergeFrom

      public V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>
    • mergeFrom

    • isInitialized

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

      public V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>
      Throws:
      IOException
    • hasDriver

      public boolean hasDriver()
       Driver is the name of the driver to use for this volume.
       Required.
       
      optional string driver = 1;
      Specified by:
      hasDriver in interface V1.CSIPersistentVolumeSourceOrBuilder
    • getDriver

      public String getDriver()
       Driver is the name of the driver to use for this volume.
       Required.
       
      optional string driver = 1;
      Specified by:
      getDriver in interface V1.CSIPersistentVolumeSourceOrBuilder
    • getDriverBytes

      public com.google.protobuf.ByteString getDriverBytes()
       Driver is the name of the driver to use for this volume.
       Required.
       
      optional string driver = 1;
      Specified by:
      getDriverBytes in interface V1.CSIPersistentVolumeSourceOrBuilder
    • setDriver

      public V1.CSIPersistentVolumeSource.Builder setDriver(String value)
       Driver is the name of the driver to use for this volume.
       Required.
       
      optional string driver = 1;
    • clearDriver

       Driver is the name of the driver to use for this volume.
       Required.
       
      optional string driver = 1;
    • setDriverBytes

      public V1.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;
    • 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 V1.CSIPersistentVolumeSourceOrBuilder
    • 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 V1.CSIPersistentVolumeSourceOrBuilder
    • 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 V1.CSIPersistentVolumeSourceOrBuilder
    • setVolumeHandle

      public V1.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;
    • clearVolumeHandle

      public V1.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;
    • setVolumeHandleBytes

      public V1.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;
    • hasReadOnly

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

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

      public V1.CSIPersistentVolumeSource.Builder setReadOnly(boolean value)
       Optional: The value to pass to ControllerPublishVolumeRequest.
       Defaults to false (read/write).
       +optional
       
      optional bool readOnly = 3;
    • clearReadOnly

      public V1.CSIPersistentVolumeSource.Builder clearReadOnly()
       Optional: The value to pass to ControllerPublishVolumeRequest.
       Defaults to false (read/write).
       +optional
       
      optional bool readOnly = 3;
    • hasFsType

      public boolean hasFsType()
       Filesystem type 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 V1.CSIPersistentVolumeSourceOrBuilder
    • getFsType

      public String getFsType()
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       +optional
       
      optional string fsType = 4;
      Specified by:
      getFsType in interface V1.CSIPersistentVolumeSourceOrBuilder
    • getFsTypeBytes

      public com.google.protobuf.ByteString getFsTypeBytes()
       Filesystem type 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 V1.CSIPersistentVolumeSourceOrBuilder
    • setFsType

      public V1.CSIPersistentVolumeSource.Builder setFsType(String value)
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       +optional
       
      optional string fsType = 4;
    • clearFsType

       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       +optional
       
      optional string fsType = 4;
    • setFsTypeBytes

      public V1.CSIPersistentVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       +optional
       
      optional string fsType = 4;
    • getVolumeAttributesCount

      public int getVolumeAttributesCount()
      Description copied from interface: V1.CSIPersistentVolumeSourceOrBuilder
       Attributes of the volume to publish.
       +optional
       
      map<string, string> volumeAttributes = 5;
      Specified by:
      getVolumeAttributesCount in interface V1.CSIPersistentVolumeSourceOrBuilder
    • containsVolumeAttributes

      public boolean containsVolumeAttributes(String key)
       Attributes of the volume to publish.
       +optional
       
      map<string, string> volumeAttributes = 5;
      Specified by:
      containsVolumeAttributes in interface V1.CSIPersistentVolumeSourceOrBuilder
    • getVolumeAttributes

      @Deprecated public Map<String,String> getVolumeAttributes()
      Deprecated.
      Specified by:
      getVolumeAttributes in interface V1.CSIPersistentVolumeSourceOrBuilder
    • getVolumeAttributesMap

      public Map<String,String> getVolumeAttributesMap()
       Attributes of the volume to publish.
       +optional
       
      map<string, string> volumeAttributes = 5;
      Specified by:
      getVolumeAttributesMap in interface V1.CSIPersistentVolumeSourceOrBuilder
    • getVolumeAttributesOrDefault

      public String getVolumeAttributesOrDefault(String key, String defaultValue)
       Attributes of the volume to publish.
       +optional
       
      map<string, string> volumeAttributes = 5;
      Specified by:
      getVolumeAttributesOrDefault in interface V1.CSIPersistentVolumeSourceOrBuilder
    • getVolumeAttributesOrThrow

      public String getVolumeAttributesOrThrow(String key)
       Attributes of the volume to publish.
       +optional
       
      map<string, string> volumeAttributes = 5;
      Specified by:
      getVolumeAttributesOrThrow in interface V1.CSIPersistentVolumeSourceOrBuilder
    • clearVolumeAttributes

      public V1.CSIPersistentVolumeSource.Builder clearVolumeAttributes()
    • removeVolumeAttributes

      public V1.CSIPersistentVolumeSource.Builder removeVolumeAttributes(String key)
       Attributes of the volume to publish.
       +optional
       
      map<string, string> volumeAttributes = 5;
    • getMutableVolumeAttributes

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

      public V1.CSIPersistentVolumeSource.Builder putVolumeAttributes(String key, String value)
       Attributes of the volume to publish.
       +optional
       
      map<string, string> volumeAttributes = 5;
    • putAllVolumeAttributes

      public V1.CSIPersistentVolumeSource.Builder putAllVolumeAttributes(Map<String,String> values)
       Attributes of the volume to publish.
       +optional
       
      map<string, string> volumeAttributes = 5;
    • 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 V1.CSIPersistentVolumeSourceOrBuilder
    • getControllerPublishSecretRef

      public V1.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 V1.CSIPersistentVolumeSourceOrBuilder
    • setControllerPublishSecretRef

      public V1.CSIPersistentVolumeSource.Builder setControllerPublishSecretRef(V1.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 V1.CSIPersistentVolumeSource.Builder setControllerPublishSecretRef(V1.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 V1.CSIPersistentVolumeSource.Builder mergeControllerPublishSecretRef(V1.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 V1.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 V1.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 V1.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 V1.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 V1.CSIPersistentVolumeSourceOrBuilder
    • getNodeStageSecretRef

      public V1.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 V1.CSIPersistentVolumeSourceOrBuilder
    • setNodeStageSecretRef

      public V1.CSIPersistentVolumeSource.Builder setNodeStageSecretRef(V1.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 V1.CSIPersistentVolumeSource.Builder setNodeStageSecretRef(V1.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 V1.CSIPersistentVolumeSource.Builder mergeNodeStageSecretRef(V1.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 V1.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 V1.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 V1.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 V1.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 V1.CSIPersistentVolumeSourceOrBuilder
    • getNodePublishSecretRef

      public V1.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 V1.CSIPersistentVolumeSourceOrBuilder
    • setNodePublishSecretRef

      public V1.CSIPersistentVolumeSource.Builder setNodePublishSecretRef(V1.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 V1.CSIPersistentVolumeSource.Builder setNodePublishSecretRef(V1.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 V1.CSIPersistentVolumeSource.Builder mergeNodePublishSecretRef(V1.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 V1.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 V1.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 V1.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 V1.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 is an alpha field and requires enabling ExpandCSIVolumes feature gate.
       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 V1.CSIPersistentVolumeSourceOrBuilder
    • getControllerExpandSecretRef

      public V1.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 is an alpha field and requires enabling ExpandCSIVolumes feature gate.
       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 V1.CSIPersistentVolumeSourceOrBuilder
    • setControllerExpandSecretRef

      public V1.CSIPersistentVolumeSource.Builder setControllerExpandSecretRef(V1.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 is an alpha field and requires enabling ExpandCSIVolumes feature gate.
       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 V1.CSIPersistentVolumeSource.Builder setControllerExpandSecretRef(V1.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 is an alpha field and requires enabling ExpandCSIVolumes feature gate.
       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 V1.CSIPersistentVolumeSource.Builder mergeControllerExpandSecretRef(V1.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 is an alpha field and requires enabling ExpandCSIVolumes feature gate.
       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 V1.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 is an alpha field and requires enabling ExpandCSIVolumes feature gate.
       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 V1.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 is an alpha field and requires enabling ExpandCSIVolumes feature gate.
       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 V1.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 is an alpha field and requires enabling ExpandCSIVolumes feature gate.
       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 V1.CSIPersistentVolumeSourceOrBuilder
    • setUnknownFields

      public final V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>
    • mergeUnknownFields

      public final V1.CSIPersistentVolumeSource.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<V1.CSIPersistentVolumeSource.Builder>