Package k8s.io.api.core.v1
Class Generated.CSIVolumeSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.CSIVolumeSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.CSIVolumeSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.CSIVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements Generated.CSIVolumeSourceOrBuilder
Represents a source location of a volume to mount, managed by an external CSI driver
Protobuf typek8s.io.api.core.v1.CSIVolumeSource- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.CSIVolumeSource.BuilderRepresents a source location of a volume to mount, managed by an external CSI 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 intDRIVER_FIELD_NUMBERstatic intFSTYPE_FIELD_NUMBERstatic intNODEPUBLISHSECRETREF_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.CSIVolumeSource>PARSERDeprecated.static intREADONLY_FIELD_NUMBERstatic intVOLUMEATTRIBUTES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsVolumeAttributes(String key)volumeAttributes stores driver-specific properties that are passed to the CSI driver.booleanequals(Object obj)static Generated.CSIVolumeSourcegetDefaultInstance()Generated.CSIVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetDriver()driver is the name of the CSI driver that handles this volume.com.google.protobuf.ByteStringgetDriverBytes()driver is the name of the CSI driver that handles this volume.StringgetFsType()fsType to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType to mount.Generated.LocalObjectReferencegetNodePublishSecretRef()nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.Generated.LocalObjectReferenceOrBuildergetNodePublishSecretRefOrBuilder()nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.com.google.protobuf.Parser<Generated.CSIVolumeSource>getParserForType()booleangetReadOnly()readOnly specifies a read-only configuration for the volume.intgetSerializedSize()Map<String,String>getVolumeAttributes()Deprecated.intgetVolumeAttributesCount()volumeAttributes stores driver-specific properties that are passed to the CSI driver.Map<String,String>getVolumeAttributesMap()volumeAttributes stores driver-specific properties that are passed to the CSI driver.StringgetVolumeAttributesOrDefault(String key, String defaultValue)volumeAttributes stores driver-specific properties that are passed to the CSI driver.StringgetVolumeAttributesOrThrow(String key)volumeAttributes stores driver-specific properties that are passed to the CSI driver.booleanhasDriver()driver is the name of the CSI driver that handles this volume.booleanhasFsType()fsType to mount.inthashCode()booleanhasNodePublishSecretRef()nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls.booleanhasReadOnly()readOnly specifies a read-only configuration for the volume.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Generated.CSIVolumeSource.BuildernewBuilder()static Generated.CSIVolumeSource.BuildernewBuilder(Generated.CSIVolumeSource prototype)Generated.CSIVolumeSource.BuildernewBuilderForType()protected Generated.CSIVolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.CSIVolumeSourceparseDelimitedFrom(InputStream input)static Generated.CSIVolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIVolumeSourceparseFrom(byte[] data)static Generated.CSIVolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIVolumeSourceparseFrom(com.google.protobuf.ByteString data)static Generated.CSIVolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.CSIVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIVolumeSourceparseFrom(InputStream input)static Generated.CSIVolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CSIVolumeSourceparseFrom(ByteBuffer data)static Generated.CSIVolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.CSIVolumeSource>parser()Generated.CSIVolumeSource.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
-
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
-
NODEPUBLISHSECRETREF_FIELD_NUMBER
public static final int NODEPUBLISHSECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.CSIVolumeSource> 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 CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Specified by:
hasDriverin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- Whether the driver field is set.
-
getDriver
public String getDriver()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Specified by:
getDriverin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The driver.
-
getDriverBytes
public com.google.protobuf.ByteString getDriverBytes()
driver is the name of the CSI driver that handles this volume. Consult with your admin for the correct name as registered in the cluster.
optional string driver = 1;- Specified by:
getDriverBytesin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The bytes for driver.
-
hasReadOnly
public boolean hasReadOnly()
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;- Specified by:
hasReadOnlyin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly specifies a read-only configuration for the volume. Defaults to false (read/write). +optional
optional bool readOnly = 2;- Specified by:
getReadOnlyin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The readOnly.
-
hasFsType
public boolean hasFsType()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Specified by:
hasFsTypein interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Specified by:
getFsTypein interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType to mount. Ex. "ext4", "xfs", "ntfs". If not provided, the empty value is passed to the associated CSI driver which will determine the default filesystem to apply. +optional
optional string fsType = 3;- Specified by:
getFsTypeBytesin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
getVolumeAttributesCount
public int getVolumeAttributesCount()
Description copied from interface:Generated.CSIVolumeSourceOrBuildervolumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
getVolumeAttributesCountin interfaceGenerated.CSIVolumeSourceOrBuilder
-
containsVolumeAttributes
public boolean containsVolumeAttributes(String key)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
containsVolumeAttributesin interfaceGenerated.CSIVolumeSourceOrBuilder
-
getVolumeAttributes
@Deprecated public Map<String,String> getVolumeAttributes()
Deprecated.UsegetVolumeAttributesMap()instead.- Specified by:
getVolumeAttributesin interfaceGenerated.CSIVolumeSourceOrBuilder
-
getVolumeAttributesMap
public Map<String,String> getVolumeAttributesMap()
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
getVolumeAttributesMapin interfaceGenerated.CSIVolumeSourceOrBuilder
-
getVolumeAttributesOrDefault
public String getVolumeAttributesOrDefault(String key, String defaultValue)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
getVolumeAttributesOrDefaultin interfaceGenerated.CSIVolumeSourceOrBuilder
-
getVolumeAttributesOrThrow
public String getVolumeAttributesOrThrow(String key)
volumeAttributes stores driver-specific properties that are passed to the CSI driver. Consult your driver's documentation for supported values. +optional
map<string, string> volumeAttributes = 4;- Specified by:
getVolumeAttributesOrThrowin interfaceGenerated.CSIVolumeSourceOrBuilder
-
hasNodePublishSecretRef
public boolean hasNodePublishSecretRef()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;- Specified by:
hasNodePublishSecretRefin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- Whether the nodePublishSecretRef field is set.
-
getNodePublishSecretRef
public Generated.LocalObjectReference getNodePublishSecretRef()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;- Specified by:
getNodePublishSecretRefin interfaceGenerated.CSIVolumeSourceOrBuilder- Returns:
- The nodePublishSecretRef.
-
getNodePublishSecretRefOrBuilder
public Generated.LocalObjectReferenceOrBuilder getNodePublishSecretRefOrBuilder()
nodePublishSecretRef is a reference to the secret object containing sensitive information to pass to the CSI driver to complete the CSI NodePublishVolume and NodeUnpublishVolume calls. This field is optional, and may be empty if no secret is required. If the secret object contains more than one secret, all secret references are passed. +optional
optional .k8s.io.api.core.v1.LocalObjectReference nodePublishSecretRef = 5;- Specified by:
getNodePublishSecretRefOrBuilderin interfaceGenerated.CSIVolumeSourceOrBuilder
-
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.CSIVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIVolumeSource 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.CSIVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CSIVolumeSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CSIVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.CSIVolumeSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.CSIVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CSIVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CSIVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.CSIVolumeSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.CSIVolumeSource.Builder newBuilder()
-
newBuilder
public static Generated.CSIVolumeSource.Builder newBuilder(Generated.CSIVolumeSource prototype)
-
toBuilder
public Generated.CSIVolumeSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.CSIVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.CSIVolumeSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.CSIVolumeSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.CSIVolumeSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.CSIVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-