Package k8s.io.api.core.v1
Class Generated.CSIPersistentVolumeSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.CSIPersistentVolumeSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.CSIPersistentVolumeSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.CSIPersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements Generated.CSIPersistentVolumeSourceOrBuilder
Represents storage that is managed by an external CSI volume driver
Protobuf typek8s.io.api.core.v1.CSIPersistentVolumeSource- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.CSIPersistentVolumeSource.BuilderRepresents storage that is managed by an external CSI volume driver-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCONTROLLEREXPANDSECRETREF_FIELD_NUMBERstatic intCONTROLLERPUBLISHSECRETREF_FIELD_NUMBERstatic intDRIVER_FIELD_NUMBERstatic intFSTYPE_FIELD_NUMBERstatic intNODEEXPANDSECRETREF_FIELD_NUMBERstatic intNODEPUBLISHSECRETREF_FIELD_NUMBERstatic intNODESTAGESECRETREF_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.CSIPersistentVolumeSource>PARSERDeprecated.static intREADONLY_FIELD_NUMBERstatic intVOLUMEATTRIBUTES_FIELD_NUMBERstatic intVOLUMEHANDLE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsVolumeAttributes(String key)volumeAttributes of the volume to publish.booleanequals(Object obj)Generated.SecretReferencegetControllerExpandSecretRef()controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call.Generated.SecretReferenceOrBuildergetControllerExpandSecretRefOrBuilder()controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call.Generated.SecretReferencegetControllerPublishSecretRef()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.Generated.SecretReferenceOrBuildergetControllerPublishSecretRefOrBuilder()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.static Generated.CSIPersistentVolumeSourcegetDefaultInstance()Generated.CSIPersistentVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDriver()driver is the name of the driver to use for this volume.com.google.protobuf.ByteStringgetDriverBytes()driver is the name of the driver to use for this volume.StringgetFsType()fsType to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType to mount.Generated.SecretReferencegetNodeExpandSecretRef()nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call.Generated.SecretReferenceOrBuildergetNodeExpandSecretRefOrBuilder()nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call.Generated.SecretReferencegetNodePublishSecretRef()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.SecretReferenceOrBuildergetNodePublishSecretRefOrBuilder()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.SecretReferencegetNodeStageSecretRef()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.Generated.SecretReferenceOrBuildergetNodeStageSecretRefOrBuilder()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.com.google.protobuf.Parser<Generated.CSIPersistentVolumeSource>getParserForType()booleangetReadOnly()readOnly value to pass to ControllerPublishVolumeRequest.intgetSerializedSize()Map<String,String>getVolumeAttributes()Deprecated.intgetVolumeAttributesCount()volumeAttributes of the volume to publish.Map<String,String>getVolumeAttributesMap()volumeAttributes of the volume to publish.StringgetVolumeAttributesOrDefault(String key, String defaultValue)volumeAttributes of the volume to publish.StringgetVolumeAttributesOrThrow(String key)volumeAttributes of the volume to publish.StringgetVolumeHandle()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.ByteStringgetVolumeHandleBytes()volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls.booleanhasControllerExpandSecretRef()controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call.booleanhasControllerPublishSecretRef()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.booleanhasDriver()driver is the name of the driver to use for this volume.booleanhasFsType()fsType to mount.inthashCode()booleanhasNodeExpandSecretRef()nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call.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.booleanhasNodeStageSecretRef()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.booleanhasReadOnly()readOnly value to pass to ControllerPublishVolumeRequest.booleanhasVolumeHandle()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.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Generated.CSIPersistentVolumeSource.BuildernewBuilder()static Generated.CSIPersistentVolumeSource.BuildernewBuilder(Generated.CSIPersistentVolumeSource prototype)Generated.CSIPersistentVolumeSource.BuildernewBuilderForType()protected Generated.CSIPersistentVolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.CSIPersistentVolumeSourceparseDelimitedFrom(InputStream input)static Generated.CSIPersistentVolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIPersistentVolumeSourceparseFrom(byte[] data)static Generated.CSIPersistentVolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIPersistentVolumeSourceparseFrom(com.google.protobuf.ByteString data)static Generated.CSIPersistentVolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIPersistentVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.CSIPersistentVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIPersistentVolumeSourceparseFrom(InputStream input)static Generated.CSIPersistentVolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIPersistentVolumeSourceparseFrom(ByteBuffer data)static Generated.CSIPersistentVolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.CSIPersistentVolumeSource>parser()Generated.CSIPersistentVolumeSource.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
DRIVER_FIELD_NUMBER
public static final int DRIVER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMEHANDLE_FIELD_NUMBER
public static final int VOLUMEHANDLE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READONLY_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FSTYPE_FIELD_NUMBER
public static final int FSTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMEATTRIBUTES_FIELD_NUMBER
public static final int VOLUMEATTRIBUTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTROLLERPUBLISHSECRETREF_FIELD_NUMBER
public static final int CONTROLLERPUBLISHSECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODESTAGESECRETREF_FIELD_NUMBER
public static final int NODESTAGESECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODEPUBLISHSECRETREF_FIELD_NUMBER
public static final int NODEPUBLISHSECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONTROLLEREXPANDSECRETREF_FIELD_NUMBER
public static final int CONTROLLEREXPANDSECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NODEEXPANDSECRETREF_FIELD_NUMBER
public static final int NODEEXPANDSECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.CSIPersistentVolumeSource> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasDriver
public boolean hasDriver()
driver is the name of the driver to use for this volume. Required.
optional string driver = 1;- Specified by:
hasDriverin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the driver field is set.
-
getDriver
public String getDriver()
driver is the name of the driver to use for this volume. Required.
optional string driver = 1;- Specified by:
getDriverin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The driver.
-
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:
getDriverBytesin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The bytes for driver.
-
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:
hasVolumeHandlein interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the volumeHandle field is set.
-
getVolumeHandle
public String getVolumeHandle()
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
optional string volumeHandle = 2;- Specified by:
getVolumeHandlein interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The volumeHandle.
-
getVolumeHandleBytes
public com.google.protobuf.ByteString getVolumeHandleBytes()
volumeHandle is the unique volume name returned by the CSI volume plugin’s CreateVolume to refer to the volume on all subsequent calls. Required.
optional string volumeHandle = 2;- Specified by:
getVolumeHandleBytesin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The bytes for volumeHandle.
-
hasReadOnly
public boolean hasReadOnly()
readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;- Specified by:
hasReadOnlyin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;- Specified by:
getReadOnlyin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The readOnly.
-
hasFsType
public boolean hasFsType()
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". +optional
optional string fsType = 4;- Specified by:
hasFsTypein interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". +optional
optional string fsType = 4;- Specified by:
getFsTypein interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". +optional
optional string fsType = 4;- Specified by:
getFsTypeBytesin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
getVolumeAttributesCount
public int getVolumeAttributesCount()
Description copied from interface:Generated.CSIPersistentVolumeSourceOrBuildervolumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;- Specified by:
getVolumeAttributesCountin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
containsVolumeAttributes
public boolean containsVolumeAttributes(String key)
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;- Specified by:
containsVolumeAttributesin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
getVolumeAttributes
@Deprecated public Map<String,String> getVolumeAttributes()
Deprecated.UsegetVolumeAttributesMap()instead.- Specified by:
getVolumeAttributesin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
getVolumeAttributesMap
public Map<String,String> getVolumeAttributesMap()
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;- Specified by:
getVolumeAttributesMapin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
getVolumeAttributesOrDefault
public String getVolumeAttributesOrDefault(String key, String defaultValue)
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;- Specified by:
getVolumeAttributesOrDefaultin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
getVolumeAttributesOrThrow
public String getVolumeAttributesOrThrow(String key)
volumeAttributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;- Specified by:
getVolumeAttributesOrThrowin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
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:
hasControllerPublishSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the controllerPublishSecretRef field is set.
-
getControllerPublishSecretRef
public Generated.SecretReference getControllerPublishSecretRef()
controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;- Specified by:
getControllerPublishSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The controllerPublishSecretRef.
-
getControllerPublishSecretRefOrBuilder
public Generated.SecretReferenceOrBuilder getControllerPublishSecretRefOrBuilder()
controllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;- Specified by:
getControllerPublishSecretRefOrBuilderin interfaceGenerated.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:
hasNodeStageSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the nodeStageSecretRef field is set.
-
getNodeStageSecretRef
public Generated.SecretReference getNodeStageSecretRef()
nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;- Specified by:
getNodeStageSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The nodeStageSecretRef.
-
getNodeStageSecretRefOrBuilder
public Generated.SecretReferenceOrBuilder getNodeStageSecretRefOrBuilder()
nodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;- Specified by:
getNodeStageSecretRefOrBuilderin interfaceGenerated.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:
hasNodePublishSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the nodePublishSecretRef field is set.
-
getNodePublishSecretRef
public Generated.SecretReference getNodePublishSecretRef()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;- Specified by:
getNodePublishSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The nodePublishSecretRef.
-
getNodePublishSecretRefOrBuilder
public Generated.SecretReferenceOrBuilder getNodePublishSecretRefOrBuilder()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;- Specified by:
getNodePublishSecretRefOrBuilderin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
hasControllerExpandSecretRef
public boolean hasControllerExpandSecretRef()
controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;- Specified by:
hasControllerExpandSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the controllerExpandSecretRef field is set.
-
getControllerExpandSecretRef
public Generated.SecretReference getControllerExpandSecretRef()
controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;- Specified by:
getControllerExpandSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The controllerExpandSecretRef.
-
getControllerExpandSecretRefOrBuilder
public Generated.SecretReferenceOrBuilder getControllerExpandSecretRefOrBuilder()
controllerExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerExpandVolume call. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerExpandSecretRef = 9;- Specified by:
getControllerExpandSecretRefOrBuilderin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
hasNodeExpandSecretRef
public boolean hasNodeExpandSecretRef()
nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;- Specified by:
hasNodeExpandSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- Whether the nodeExpandSecretRef field is set.
-
getNodeExpandSecretRef
public Generated.SecretReference getNodeExpandSecretRef()
nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;- Specified by:
getNodeExpandSecretRefin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder- Returns:
- The nodeExpandSecretRef.
-
getNodeExpandSecretRefOrBuilder
public Generated.SecretReferenceOrBuilder getNodeExpandSecretRefOrBuilder()
nodeExpandSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeExpandVolume call. This field is optional, may be omitted if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeExpandSecretRef = 10;- Specified by:
getNodeExpandSecretRefOrBuilderin interfaceGenerated.CSIPersistentVolumeSourceOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.CSIPersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.CSIPersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CSIPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.CSIPersistentVolumeSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.CSIPersistentVolumeSource.Builder newBuilder()
-
newBuilder
public static Generated.CSIPersistentVolumeSource.Builder newBuilder(Generated.CSIPersistentVolumeSource prototype)
-
toBuilder
public Generated.CSIPersistentVolumeSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.CSIPersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.CSIPersistentVolumeSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.CSIPersistentVolumeSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.CSIPersistentVolumeSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.CSIPersistentVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-