public static final class V1.CSIVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements V1.CSIVolumeSourceOrBuilder
Represents a source location of a volume to mount, managed by an external CSI driverProtobuf type
k8s.io.api.core.v1.CSIVolumeSource| Modifier and Type | Class and Description |
|---|---|
static class |
V1.CSIVolumeSource.Builder
Represents a source location of a volume to mount, managed by an external CSI driver
|
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 |
DRIVER_FIELD_NUMBER |
static int |
FSTYPE_FIELD_NUMBER |
static int |
NODEPUBLISHSECRETREF_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.CSIVolumeSource> |
PARSER
Deprecated.
|
static int |
READONLY_FIELD_NUMBER |
static int |
VOLUMEATTRIBUTES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsVolumeAttributes(String key)
VolumeAttributes stores driver-specific properties that are passed to the CSI
driver.
|
boolean |
equals(Object obj) |
static V1.CSIVolumeSource |
getDefaultInstance() |
V1.CSIVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDriver()
Driver is the name of the CSI driver that handles this volume.
|
com.google.protobuf.ByteString |
getDriverBytes()
Driver is the name of the CSI driver that handles this volume.
|
String |
getFsType()
Filesystem type to mount.
|
com.google.protobuf.ByteString |
getFsTypeBytes()
Filesystem type to mount.
|
V1.LocalObjectReference |
getNodePublishSecretRef()
NodePublishSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
NodePublishVolume and NodeUnpublishVolume calls.
|
V1.LocalObjectReferenceOrBuilder |
getNodePublishSecretRefOrBuilder()
NodePublishSecretRef is a reference to the secret object containing
sensitive information to pass to the CSI driver to complete the CSI
NodePublishVolume and NodeUnpublishVolume calls.
|
com.google.protobuf.Parser<V1.CSIVolumeSource> |
getParserForType() |
boolean |
getReadOnly()
Specifies a read-only configuration for the volume.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Map<String,String> |
getVolumeAttributes()
Deprecated.
|
int |
getVolumeAttributesCount()
VolumeAttributes stores driver-specific properties that are passed to the CSI
driver.
|
Map<String,String> |
getVolumeAttributesMap()
VolumeAttributes stores driver-specific properties that are passed to the CSI
driver.
|
String |
getVolumeAttributesOrDefault(String key,
String defaultValue)
VolumeAttributes stores driver-specific properties that are passed to the CSI
driver.
|
String |
getVolumeAttributesOrThrow(String key)
VolumeAttributes stores driver-specific properties that are passed to the CSI
driver.
|
boolean |
hasDriver()
Driver is the name of the CSI driver that handles 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 |
hasReadOnly()
Specifies a read-only configuration for the volume.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static V1.CSIVolumeSource.Builder |
newBuilder() |
static V1.CSIVolumeSource.Builder |
newBuilder(V1.CSIVolumeSource prototype) |
V1.CSIVolumeSource.Builder |
newBuilderForType() |
protected V1.CSIVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.CSIVolumeSource |
parseDelimitedFrom(InputStream input) |
static V1.CSIVolumeSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIVolumeSource |
parseFrom(byte[] data) |
static V1.CSIVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIVolumeSource |
parseFrom(ByteBuffer data) |
static V1.CSIVolumeSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static V1.CSIVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.CSIVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CSIVolumeSource |
parseFrom(InputStream input) |
static V1.CSIVolumeSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.CSIVolumeSource> |
parser() |
V1.CSIVolumeSource.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, isStringEmpty, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DRIVER_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 NODEPUBLISHSECRETREF_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.CSIVolumeSource> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasDriver()
Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;hasDriver in interface V1.CSIVolumeSourceOrBuilderpublic String getDriver()
Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;getDriver in interface V1.CSIVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getDriverBytes()
Driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;getDriverBytes in interface V1.CSIVolumeSourceOrBuilderpublic boolean hasReadOnly()
Specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;hasReadOnly in interface V1.CSIVolumeSourceOrBuilderpublic boolean getReadOnly()
Specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;getReadOnly in interface V1.CSIVolumeSourceOrBuilderpublic boolean hasFsType()
Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;hasFsType in interface V1.CSIVolumeSourceOrBuilderpublic String getFsType()
Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;getFsType in interface V1.CSIVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getFsTypeBytes()
Filesystem type to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;getFsTypeBytes in interface V1.CSIVolumeSourceOrBuilderpublic int getVolumeAttributesCount()
V1.CSIVolumeSourceOrBuilderVolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;getVolumeAttributesCount in interface V1.CSIVolumeSourceOrBuilderpublic boolean containsVolumeAttributes(String key)
VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;containsVolumeAttributes in interface V1.CSIVolumeSourceOrBuilder@Deprecated public Map<String,String> getVolumeAttributes()
getVolumeAttributesMap() instead.getVolumeAttributes in interface V1.CSIVolumeSourceOrBuilderpublic Map<String,String> getVolumeAttributesMap()
VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;getVolumeAttributesMap in interface V1.CSIVolumeSourceOrBuilderpublic String getVolumeAttributesOrDefault(String key, String defaultValue)
VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;getVolumeAttributesOrDefault in interface V1.CSIVolumeSourceOrBuilderpublic String getVolumeAttributesOrThrow(String key)
VolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;getVolumeAttributesOrThrow in interface V1.CSIVolumeSourceOrBuilderpublic boolean hasNodePublishSecretRef()
NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;hasNodePublishSecretRef in interface V1.CSIVolumeSourceOrBuilderpublic V1.LocalObjectReference getNodePublishSecretRef()
NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;getNodePublishSecretRef in interface V1.CSIVolumeSourceOrBuilderpublic V1.LocalObjectReferenceOrBuilder getNodePublishSecretRefOrBuilder()
NodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;getNodePublishSecretRefOrBuilder in interface V1.CSIVolumeSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.CSIVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CSIVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CSIVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CSIVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CSIVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CSIVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CSIVolumeSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.CSIVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.CSIVolumeSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.CSIVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.CSIVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.CSIVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.CSIVolumeSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.CSIVolumeSource.Builder newBuilder()
public static V1.CSIVolumeSource.Builder newBuilder(V1.CSIVolumeSource prototype)
public V1.CSIVolumeSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.CSIVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.CSIVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<V1.CSIVolumeSource> parser()
public com.google.protobuf.Parser<V1.CSIVolumeSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.CSIVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023. All rights reserved.