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| Modifier and Type | Method and Description |
|---|---|
V1.CSIPersistentVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.CSIPersistentVolumeSource |
build() |
V1.CSIPersistentVolumeSource |
buildPartial() |
V1.CSIPersistentVolumeSource.Builder |
clear() |
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.
|
V1.CSIPersistentVolumeSource.Builder |
clearDriver()
Driver is the name of the driver to use for this volume.
|
V1.CSIPersistentVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.CSIPersistentVolumeSource.Builder |
clearFsType()
Filesystem type to mount.
|
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.
|
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.
|
V1.CSIPersistentVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.CSIPersistentVolumeSource.Builder |
clearReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest.
|
V1.CSIPersistentVolumeSource.Builder |
clearVolumeAttributes() |
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.
|
V1.CSIPersistentVolumeSource.Builder |
clone() |
boolean |
containsVolumeAttributes(String key)
Attributes of the volume to publish.
|
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.
|
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.
|
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.
|
V1.CSIPersistentVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDriver()
Driver is the name of the driver to use for this volume.
|
com.google.protobuf.ByteString |
getDriverBytes()
Driver is the name of the driver to use for this volume.
|
String |
getFsType()
Filesystem type to mount.
|
com.google.protobuf.ByteString |
getFsTypeBytes()
Filesystem type to mount.
|
Map<String,String> |
getMutableVolumeAttributes()
Deprecated.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
boolean |
getReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest.
|
Map<String,String> |
getVolumeAttributes()
Deprecated.
|
int |
getVolumeAttributesCount()
Attributes of the volume to publish.
|
Map<String,String> |
getVolumeAttributesMap()
Attributes of the volume to publish.
|
String |
getVolumeAttributesOrDefault(String key,
String defaultValue)
Attributes of the volume to publish.
|
String |
getVolumeAttributesOrThrow(String key)
Attributes of the volume to publish.
|
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.
|
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.
|
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.
|
boolean |
hasDriver()
Driver is the name of the driver to use for this volume.
|
boolean |
hasFsType()
Filesystem type to mount.
|
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.
|
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.
|
boolean |
hasReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest.
|
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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
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.
|
V1.CSIPersistentVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.CSIPersistentVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.CSIPersistentVolumeSource.Builder |
mergeFrom(V1.CSIPersistentVolumeSource other) |
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.
|
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.
|
V1.CSIPersistentVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.CSIPersistentVolumeSource.Builder |
putAllVolumeAttributes(Map<String,String> values)
Attributes of the volume to publish.
|
V1.CSIPersistentVolumeSource.Builder |
putVolumeAttributes(String key,
String value)
Attributes of the volume to publish.
|
V1.CSIPersistentVolumeSource.Builder |
removeVolumeAttributes(String key)
Attributes of the volume to publish.
|
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.
|
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.
|
V1.CSIPersistentVolumeSource.Builder |
setDriver(String value)
Driver is the name of the driver to use for this volume.
|
V1.CSIPersistentVolumeSource.Builder |
setDriverBytes(com.google.protobuf.ByteString value)
Driver is the name of the driver to use for this volume.
|
V1.CSIPersistentVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.CSIPersistentVolumeSource.Builder |
setFsType(String value)
Filesystem type to mount.
|
V1.CSIPersistentVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type to mount.
|
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.
|
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.
|
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.
|
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.
|
V1.CSIPersistentVolumeSource.Builder |
setReadOnly(boolean value)
Optional: The value to pass to ControllerPublishVolumeRequest.
|
V1.CSIPersistentVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.CSIPersistentVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
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.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.CSIPersistentVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.CSIPersistentVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.CSIPersistentVolumeSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder mergeFrom(V1.CSIPersistentVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public V1.CSIPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.CSIPersistentVolumeSource.Builder>IOExceptionpublic boolean hasDriver()
Driver is the name of the driver to use for this volume. Required.
optional string driver = 1;hasDriver in interface V1.CSIPersistentVolumeSourceOrBuilderpublic String getDriver()
Driver is the name of the driver to use for this volume. Required.
optional string driver = 1;getDriver in interface V1.CSIPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getDriverBytes()
Driver is the name of the driver to use for this volume. Required.
optional string driver = 1;getDriverBytes in interface V1.CSIPersistentVolumeSourceOrBuilderpublic V1.CSIPersistentVolumeSource.Builder setDriver(String value)
Driver is the name of the driver to use for this volume. Required.
optional string driver = 1;public V1.CSIPersistentVolumeSource.Builder clearDriver()
Driver is the name of the driver to use for this volume. Required.
optional string driver = 1;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;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;hasVolumeHandle in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;getVolumeHandle in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;getVolumeHandleBytes in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;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;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;public boolean hasReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;hasReadOnly in interface V1.CSIPersistentVolumeSourceOrBuilderpublic boolean getReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;getReadOnly in interface V1.CSIPersistentVolumeSourceOrBuilderpublic V1.CSIPersistentVolumeSource.Builder setReadOnly(boolean value)
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;public V1.CSIPersistentVolumeSource.Builder clearReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;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;hasFsType in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;getFsType in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;getFsTypeBytes in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;public V1.CSIPersistentVolumeSource.Builder 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;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;public int getVolumeAttributesCount()
V1.CSIPersistentVolumeSourceOrBuilderAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;getVolumeAttributesCount in interface V1.CSIPersistentVolumeSourceOrBuilderpublic boolean containsVolumeAttributes(String key)
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;containsVolumeAttributes in interface V1.CSIPersistentVolumeSourceOrBuilder@Deprecated public Map<String,String> getVolumeAttributes()
getVolumeAttributesMap() instead.getVolumeAttributes in interface V1.CSIPersistentVolumeSourceOrBuilderpublic Map<String,String> getVolumeAttributesMap()
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;getVolumeAttributesMap in interface V1.CSIPersistentVolumeSourceOrBuilderpublic String getVolumeAttributesOrDefault(String key, String defaultValue)
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;getVolumeAttributesOrDefault in interface V1.CSIPersistentVolumeSourceOrBuilderpublic String getVolumeAttributesOrThrow(String key)
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;getVolumeAttributesOrThrow in interface V1.CSIPersistentVolumeSourceOrBuilderpublic V1.CSIPersistentVolumeSource.Builder clearVolumeAttributes()
public V1.CSIPersistentVolumeSource.Builder removeVolumeAttributes(String key)
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;@Deprecated public Map<String,String> getMutableVolumeAttributes()
public V1.CSIPersistentVolumeSource.Builder putVolumeAttributes(String key, String value)
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;public V1.CSIPersistentVolumeSource.Builder putAllVolumeAttributes(Map<String,String> values)
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;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;
hasControllerPublishSecretRef in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;
getControllerPublishSecretRef in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;
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;
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;
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;
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;
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;
getControllerPublishSecretRefOrBuilder in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;hasNodeStageSecretRef in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;getNodeStageSecretRef in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;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;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;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;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;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;getNodeStageSecretRefOrBuilder in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;hasNodePublishSecretRef in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;getNodePublishSecretRef in interface V1.CSIPersistentVolumeSourceOrBuilderpublic 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;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;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;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;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;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;getNodePublishSecretRefOrBuilder in interface V1.CSIPersistentVolumeSourceOrBuilderpublic final V1.CSIPersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>public final V1.CSIPersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.CSIPersistentVolumeSource.Builder>Copyright © 2020. All rights reserved.