Package k8s.io.api.core.v1
Class Generated.CSIVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.CSIVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.CSIVolumeSourceOrBuilder
- Enclosing class:
- Generated.CSIVolumeSource
public static final class Generated.CSIVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder> implements Generated.CSIVolumeSourceOrBuilder
Represents a source location of a volume to mount, managed by an external CSI driver
Protobuf typek8s.io.api.core.v1.CSIVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Generated.CSIVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.CSIVolumeSourcebuild()Generated.CSIVolumeSourcebuildPartial()Generated.CSIVolumeSource.Builderclear()Generated.CSIVolumeSource.BuilderclearDriver()driver is the name of the CSI driver that handles this volume.Generated.CSIVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.CSIVolumeSource.BuilderclearFsType()fsType to mount.Generated.CSIVolumeSource.BuilderclearNodePublishSecretRef()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.Generated.CSIVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.CSIVolumeSource.BuilderclearReadOnly()readOnly specifies a read-only configuration for the volume.Generated.CSIVolumeSource.BuilderclearVolumeAttributes()Generated.CSIVolumeSource.Builderclone()booleancontainsVolumeAttributes(String key)volumeAttributes stores driver-specific properties that are passed to the CSI driver.Generated.CSIVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDriver()driver is the name of the CSI driver that handles this volume.com.google.protobuf.ByteStringgetDriverBytes()driver is the name of the CSI driver that handles this volume.StringgetFsType()fsType to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType to mount.Map<String,String>getMutableVolumeAttributes()Deprecated.Generated.LocalObjectReferencegetNodePublishSecretRef()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.Generated.LocalObjectReference.BuildergetNodePublishSecretRefBuilder()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.Generated.LocalObjectReferenceOrBuildergetNodePublishSecretRefOrBuilder()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.booleangetReadOnly()readOnly specifies a read-only configuration for the volume.Map<String,String>getVolumeAttributes()Deprecated.intgetVolumeAttributesCount()volumeAttributes stores driver-specific properties that are passed to the CSI driver.Map<String,String>getVolumeAttributesMap()volumeAttributes stores driver-specific properties that are passed to the CSI driver.StringgetVolumeAttributesOrDefault(String key, String defaultValue)volumeAttributes stores driver-specific properties that are passed to the CSI driver.StringgetVolumeAttributesOrThrow(String key)volumeAttributes stores driver-specific properties that are passed to the CSI driver.booleanhasDriver()driver is the name of the CSI driver that handles this volume.booleanhasFsType()fsType to mount.booleanhasNodePublishSecretRef()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.booleanhasReadOnly()readOnly specifies a read-only configuration for the volume.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMutableMapFieldReflection(int number)booleanisInitialized()Generated.CSIVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.CSIVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.CSIVolumeSource.BuildermergeFrom(Generated.CSIVolumeSource other)Generated.CSIVolumeSource.BuildermergeNodePublishSecretRef(Generated.LocalObjectReference 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.Generated.CSIVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.CSIVolumeSource.BuilderputAllVolumeAttributes(Map<String,String> values)volumeAttributes stores driver-specific properties that are passed to the CSI driver.Generated.CSIVolumeSource.BuilderputVolumeAttributes(String key, String value)volumeAttributes stores driver-specific properties that are passed to the CSI driver.Generated.CSIVolumeSource.BuilderremoveVolumeAttributes(String key)volumeAttributes stores driver-specific properties that are passed to the CSI driver.Generated.CSIVolumeSource.BuildersetDriver(String value)driver is the name of the CSI driver that handles this volume.Generated.CSIVolumeSource.BuildersetDriverBytes(com.google.protobuf.ByteString value)driver is the name of the CSI driver that handles this volume.Generated.CSIVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.CSIVolumeSource.BuildersetFsType(String value)fsType to mount.Generated.CSIVolumeSource.BuildersetFsTypeBytes(com.google.protobuf.ByteString value)fsType to mount.Generated.CSIVolumeSource.BuildersetNodePublishSecretRef(Generated.LocalObjectReference 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.Generated.CSIVolumeSource.BuildersetNodePublishSecretRef(Generated.LocalObjectReference.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.Generated.CSIVolumeSource.BuildersetReadOnly(boolean value)readOnly specifies a read-only configuration for the volume.Generated.CSIVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.CSIVolumeSource.BuildersetUnknownFields(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 class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
- Overrides:
internalGetMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
internalGetMutableMapFieldReflection
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
- Overrides:
internalGetMutableMapFieldReflectionin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
clear
public Generated.CSIVolumeSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.CSIVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.CSIVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.CSIVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.CSIVolumeSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
setField
public Generated.CSIVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
clearField
public Generated.CSIVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
clearOneof
public Generated.CSIVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
setRepeatedField
public Generated.CSIVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
addRepeatedField
public Generated.CSIVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
mergeFrom
public Generated.CSIVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.CSIVolumeSource.Builder>
-
mergeFrom
public Generated.CSIVolumeSource.Builder mergeFrom(Generated.CSIVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
mergeFrom
public Generated.CSIVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.CSIVolumeSource.Builder>- Throws:
IOException
-
hasDriver
public boolean hasDriver()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Specified by:
hasDriverin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- Whether the driver field is set.
-
getDriver
public String getDriver()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Specified by:
getDriverin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The driver.
-
getDriverBytes
public com.google.protobuf.ByteString getDriverBytes()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Specified by:
getDriverBytesin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The bytes for driver.
-
setDriver
public Generated.CSIVolumeSource.Builder setDriver(String value)
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Parameters:
value- The driver to set.- Returns:
- This builder for chaining.
-
clearDriver
public Generated.CSIVolumeSource.Builder clearDriver()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Returns:
- This builder for chaining.
-
setDriverBytes
public Generated.CSIVolumeSource.Builder setDriverBytes(com.google.protobuf.ByteString value)
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Parameters:
value- The bytes for driver to set.- Returns:
- This builder for chaining.
-
hasReadOnly
public boolean hasReadOnly()
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;- Specified by:
hasReadOnlyin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;- Specified by:
getReadOnlyin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The readOnly.
-
setReadOnly
public Generated.CSIVolumeSource.Builder setReadOnly(boolean value)
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.CSIVolumeSource.Builder clearReadOnly()
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;- Returns:
- This builder for chaining.
-
hasFsType
public boolean hasFsType()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Specified by:
hasFsTypein interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Specified by:
getFsTypein interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Specified by:
getFsTypeBytesin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
setFsType
public Generated.CSIVolumeSource.Builder setFsType(String value)
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Parameters:
value- The fsType to set.- Returns:
- This builder for chaining.
-
clearFsType
public Generated.CSIVolumeSource.Builder clearFsType()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Returns:
- This builder for chaining.
-
setFsTypeBytes
public Generated.CSIVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Parameters:
value- The bytes for fsType to set.- Returns:
- This builder for chaining.
-
getVolumeAttributesCount
public int getVolumeAttributesCount()
Description copied from interface:Generated.CSIVolumeSourceOrBuildervolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
getVolumeAttributesCountin interfaceGenerated.CSIVolumeSourceOrBuilder
-
containsVolumeAttributes
public boolean containsVolumeAttributes(String key)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
containsVolumeAttributesin interfaceGenerated.CSIVolumeSourceOrBuilder
-
getVolumeAttributes
@Deprecated public Map<String,String> getVolumeAttributes()
Deprecated.UsegetVolumeAttributesMap()instead.- Specified by:
getVolumeAttributesin interfaceGenerated.CSIVolumeSourceOrBuilder
-
getVolumeAttributesMap
public Map<String,String> getVolumeAttributesMap()
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
getVolumeAttributesMapin interfaceGenerated.CSIVolumeSourceOrBuilder
-
getVolumeAttributesOrDefault
public String getVolumeAttributesOrDefault(String key, String defaultValue)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
getVolumeAttributesOrDefaultin interfaceGenerated.CSIVolumeSourceOrBuilder
-
getVolumeAttributesOrThrow
public String getVolumeAttributesOrThrow(String key)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
getVolumeAttributesOrThrowin interfaceGenerated.CSIVolumeSourceOrBuilder
-
clearVolumeAttributes
public Generated.CSIVolumeSource.Builder clearVolumeAttributes()
-
removeVolumeAttributes
public Generated.CSIVolumeSource.Builder removeVolumeAttributes(String key)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;
-
getMutableVolumeAttributes
@Deprecated public Map<String,String> getMutableVolumeAttributes()
Deprecated.Use alternate mutation accessors instead.
-
putVolumeAttributes
public Generated.CSIVolumeSource.Builder putVolumeAttributes(String key, String value)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;
-
putAllVolumeAttributes
public Generated.CSIVolumeSource.Builder putAllVolumeAttributes(Map<String,String> values)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;
-
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 secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;- Specified by:
hasNodePublishSecretRefin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- Whether the nodePublishSecretRef field is set.
-
getNodePublishSecretRef
public Generated.LocalObjectReference 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 secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;- Specified by:
getNodePublishSecretRefin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The nodePublishSecretRef.
-
setNodePublishSecretRef
public Generated.CSIVolumeSource.Builder setNodePublishSecretRef(Generated.LocalObjectReference 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 secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;
-
setNodePublishSecretRef
public Generated.CSIVolumeSource.Builder setNodePublishSecretRef(Generated.LocalObjectReference.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 secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;
-
mergeNodePublishSecretRef
public Generated.CSIVolumeSource.Builder mergeNodePublishSecretRef(Generated.LocalObjectReference 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 secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;
-
clearNodePublishSecretRef
public Generated.CSIVolumeSource.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 secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;
-
getNodePublishSecretRefBuilder
public Generated.LocalObjectReference.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 secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;
-
getNodePublishSecretRefOrBuilder
public Generated.LocalObjectReferenceOrBuilder 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 secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;- Specified by:
getNodePublishSecretRefOrBuilderin interfaceGenerated.CSIVolumeSourceOrBuilder
-
setUnknownFields
public final Generated.CSIVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.CSIVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CSIVolumeSource.Builder>
-
-