public static final class V1.CSIPersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
---|---|
static class |
V1.CSIPersistentVolumeSource.Builder
Represents storage that is managed by an external CSI volume driver (Beta feature)
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
CONTROLLERPUBLISHSECRETREF_FIELD_NUMBER |
static int |
DRIVER_FIELD_NUMBER |
static int |
FSTYPE_FIELD_NUMBER |
static int |
NODEPUBLISHSECRETREF_FIELD_NUMBER |
static int |
NODESTAGESECRETREF_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.CSIPersistentVolumeSource> |
PARSER
Deprecated.
|
static int |
READONLY_FIELD_NUMBER |
static int |
VOLUMEATTRIBUTES_FIELD_NUMBER |
static int |
VOLUMEHANDLE_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsVolumeAttributes(String key)
Attributes of the volume to publish.
|
boolean |
equals(Object obj) |
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.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.
|
static V1.CSIPersistentVolumeSource |
getDefaultInstance() |
V1.CSIPersistentVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.
|
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.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.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.
|
com.google.protobuf.Parser<V1.CSIPersistentVolumeSource> |
getParserForType() |
boolean |
getReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
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) |
boolean |
isInitialized() |
static V1.CSIPersistentVolumeSource.Builder |
newBuilder() |
static V1.CSIPersistentVolumeSource.Builder |
newBuilder(V1.CSIPersistentVolumeSource prototype) |
V1.CSIPersistentVolumeSource.Builder |
newBuilderForType() |
protected V1.CSIPersistentVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.CSIPersistentVolumeSource |
parseDelimitedFrom(InputStream input) |
static V1.CSIPersistentVolumeSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIPersistentVolumeSource |
parseFrom(byte[] data) |
static V1.CSIPersistentVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIPersistentVolumeSource |
parseFrom(ByteBuffer data) |
static V1.CSIPersistentVolumeSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIPersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static V1.CSIPersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIPersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.CSIPersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIPersistentVolumeSource |
parseFrom(InputStream input) |
static V1.CSIPersistentVolumeSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.CSIPersistentVolumeSource> |
parser() |
V1.CSIPersistentVolumeSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int DRIVER_FIELD_NUMBER
public static final int VOLUMEHANDLE_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
public static final int FSTYPE_FIELD_NUMBER
public static final int VOLUMEATTRIBUTES_FIELD_NUMBER
public static final int CONTROLLERPUBLISHSECRETREF_FIELD_NUMBER
public static final int NODESTAGESECRETREF_FIELD_NUMBER
public static final int NODEPUBLISHSECRETREF_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.CSIPersistentVolumeSource> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField
in class com.google.protobuf.GeneratedMessageV3
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public boolean hasDriver()
Driver is the name of the driver to use for this volume. Required.
optional string driver = 1;
hasDriver
in interface V1.CSIPersistentVolumeSourceOrBuilder
public String getDriver()
Driver is the name of the driver to use for this volume. Required.
optional string driver = 1;
getDriver
in interface V1.CSIPersistentVolumeSourceOrBuilder
public 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.CSIPersistentVolumeSourceOrBuilder
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.CSIPersistentVolumeSourceOrBuilder
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;
getVolumeHandle
in interface V1.CSIPersistentVolumeSourceOrBuilder
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;
getVolumeHandleBytes
in interface V1.CSIPersistentVolumeSourceOrBuilder
public boolean hasReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;
hasReadOnly
in interface V1.CSIPersistentVolumeSourceOrBuilder
public boolean getReadOnly()
Optional: The value to pass to ControllerPublishVolumeRequest. Defaults to false (read/write). +optional
optional bool readOnly = 3;
getReadOnly
in interface V1.CSIPersistentVolumeSourceOrBuilder
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.CSIPersistentVolumeSourceOrBuilder
public String getFsType()
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". +optional
optional string fsType = 4;
getFsType
in interface V1.CSIPersistentVolumeSourceOrBuilder
public com.google.protobuf.ByteString getFsTypeBytes()
Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". +optional
optional string fsType = 4;
getFsTypeBytes
in interface V1.CSIPersistentVolumeSourceOrBuilder
public int getVolumeAttributesCount()
V1.CSIPersistentVolumeSourceOrBuilder
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
getVolumeAttributesCount
in interface V1.CSIPersistentVolumeSourceOrBuilder
public 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.CSIPersistentVolumeSourceOrBuilder
public Map<String,String> getVolumeAttributesMap()
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
getVolumeAttributesMap
in interface V1.CSIPersistentVolumeSourceOrBuilder
public String getVolumeAttributesOrDefault(String key, String defaultValue)
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
getVolumeAttributesOrDefault
in interface V1.CSIPersistentVolumeSourceOrBuilder
public String getVolumeAttributesOrThrow(String key)
Attributes of the volume to publish. +optional
map<string, string> volumeAttributes = 5;
getVolumeAttributesOrThrow
in interface V1.CSIPersistentVolumeSourceOrBuilder
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.CSIPersistentVolumeSourceOrBuilder
public V1.SecretReference getControllerPublishSecretRef()
ControllerPublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI ControllerPublishVolume and ControllerUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference controllerPublishSecretRef = 6;
getControllerPublishSecretRef
in interface V1.CSIPersistentVolumeSourceOrBuilder
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.CSIPersistentVolumeSourceOrBuilder
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;
hasNodeStageSecretRef
in interface V1.CSIPersistentVolumeSourceOrBuilder
public V1.SecretReference getNodeStageSecretRef()
NodeStageSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodeStageVolume and NodeStageVolume and NodeUnstageVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodeStageSecretRef = 7;
getNodeStageSecretRef
in interface V1.CSIPersistentVolumeSourceOrBuilder
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.CSIPersistentVolumeSourceOrBuilder
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;
hasNodePublishSecretRef
in interface V1.CSIPersistentVolumeSourceOrBuilder
public V1.SecretReference getNodePublishSecretRef()
NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secrets are passed. +optional
optional .k8s.io.api.core.v1.SecretReference nodePublishSecretRef = 8;
getNodePublishSecretRef
in interface V1.CSIPersistentVolumeSourceOrBuilder
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.CSIPersistentVolumeSourceOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static V1.CSIPersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CSIPersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CSIPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CSIPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CSIPersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CSIPersistentVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CSIPersistentVolumeSource parseFrom(InputStream input) throws IOException
IOException
public static V1.CSIPersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1.CSIPersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
IOException
public static V1.CSIPersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1.CSIPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static V1.CSIPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public V1.CSIPersistentVolumeSource.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static V1.CSIPersistentVolumeSource.Builder newBuilder()
public static V1.CSIPersistentVolumeSource.Builder newBuilder(V1.CSIPersistentVolumeSource prototype)
public V1.CSIPersistentVolumeSource.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected V1.CSIPersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static V1.CSIPersistentVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<V1.CSIPersistentVolumeSource> parser()
public com.google.protobuf.Parser<V1.CSIPersistentVolumeSource> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public V1.CSIPersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2021. All rights reserved.