Package k8s.io.api.core.v1
Class Generated.FlexPersistentVolumeSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.FlexPersistentVolumeSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.FlexPersistentVolumeSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.FlexPersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements Generated.FlexPersistentVolumeSourceOrBuilder
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.
Protobuf typek8s.io.api.core.v1.FlexPersistentVolumeSource- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.FlexPersistentVolumeSource.BuilderFlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.-
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 intOPTIONS_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.FlexPersistentVolumeSource>PARSERDeprecated.static intREADONLY_FIELD_NUMBERstatic intSECRETREF_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsOptions(String key)options is Optional: this field holds extra command options if any.booleanequals(Object obj)static Generated.FlexPersistentVolumeSourcegetDefaultInstance()Generated.FlexPersistentVolumeSourcegetDefaultInstanceForType()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 is the Filesystem type to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the Filesystem type to mount.Map<String,String>getOptions()Deprecated.intgetOptionsCount()options is Optional: this field holds extra command options if any.Map<String,String>getOptionsMap()options is Optional: this field holds extra command options if any.StringgetOptionsOrDefault(String key, String defaultValue)options is Optional: this field holds extra command options if any.StringgetOptionsOrThrow(String key)options is Optional: this field holds extra command options if any.com.google.protobuf.Parser<Generated.FlexPersistentVolumeSource>getParserForType()booleangetReadOnly()readOnly is Optional: defaults to false (read/write).Generated.SecretReferencegetSecretRef()secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.Generated.SecretReferenceOrBuildergetSecretRefOrBuilder()secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.intgetSerializedSize()booleanhasDriver()driver is the name of the driver to use for this volume.booleanhasFsType()fsType is the Filesystem type to mount.inthashCode()booleanhasReadOnly()readOnly is Optional: defaults to false (read/write).booleanhasSecretRef()secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldReflectionAccessorinternalGetMapFieldReflection(int number)booleanisInitialized()static Generated.FlexPersistentVolumeSource.BuildernewBuilder()static Generated.FlexPersistentVolumeSource.BuildernewBuilder(Generated.FlexPersistentVolumeSource prototype)Generated.FlexPersistentVolumeSource.BuildernewBuilderForType()protected Generated.FlexPersistentVolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.FlexPersistentVolumeSourceparseDelimitedFrom(InputStream input)static Generated.FlexPersistentVolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FlexPersistentVolumeSourceparseFrom(byte[] data)static Generated.FlexPersistentVolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FlexPersistentVolumeSourceparseFrom(com.google.protobuf.ByteString data)static Generated.FlexPersistentVolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FlexPersistentVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.FlexPersistentVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FlexPersistentVolumeSourceparseFrom(InputStream input)static Generated.FlexPersistentVolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.FlexPersistentVolumeSourceparseFrom(ByteBuffer data)static Generated.FlexPersistentVolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.FlexPersistentVolumeSource>parser()Generated.FlexPersistentVolumeSource.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
-
FSTYPE_FIELD_NUMBER
public static final int FSTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRETREF_FIELD_NUMBER
public static final int SECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READONLY_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.FlexPersistentVolumeSource> 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.
optional string driver = 1;- Specified by:
hasDriverin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- Whether the driver field is set.
-
getDriver
public String getDriver()
driver is the name of the driver to use for this volume.
optional string driver = 1;- Specified by:
getDriverin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- The driver.
-
getDriverBytes
public com.google.protobuf.ByteString getDriverBytes()
driver is the name of the driver to use for this volume.
optional string driver = 1;- Specified by:
getDriverBytesin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- The bytes for driver.
-
hasFsType
public boolean hasFsType()
fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. +optional
optional string fsType = 2;- Specified by:
hasFsTypein interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. +optional
optional string fsType = 2;- Specified by:
getFsTypein interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. +optional
optional string fsType = 2;- Specified by:
getFsTypeBytesin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
hasSecretRef
public boolean hasSecretRef()
secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 3;- Specified by:
hasSecretRefin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- Whether the secretRef field is set.
-
getSecretRef
public Generated.SecretReference getSecretRef()
secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 3;- Specified by:
getSecretRefin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- The secretRef.
-
getSecretRefOrBuilder
public Generated.SecretReferenceOrBuilder getSecretRefOrBuilder()
secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 3;- Specified by:
getSecretRefOrBuilderin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder
-
hasReadOnly
public boolean hasReadOnly()
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Specified by:
hasReadOnlyin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Specified by:
getReadOnlyin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder- Returns:
- The readOnly.
-
getOptionsCount
public int getOptionsCount()
Description copied from interface:Generated.FlexPersistentVolumeSourceOrBuilderoptions is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;- Specified by:
getOptionsCountin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder
-
containsOptions
public boolean containsOptions(String key)
options is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;- Specified by:
containsOptionsin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder
-
getOptions
@Deprecated public Map<String,String> getOptions()
Deprecated.UsegetOptionsMap()instead.- Specified by:
getOptionsin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder
-
getOptionsMap
public Map<String,String> getOptionsMap()
options is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;- Specified by:
getOptionsMapin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder
-
getOptionsOrDefault
public String getOptionsOrDefault(String key, String defaultValue)
options is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;- Specified by:
getOptionsOrDefaultin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder
-
getOptionsOrThrow
public String getOptionsOrThrow(String key)
options is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;- Specified by:
getOptionsOrThrowin interfaceGenerated.FlexPersistentVolumeSourceOrBuilder
-
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.FlexPersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FlexPersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FlexPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FlexPersistentVolumeSource 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.FlexPersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FlexPersistentVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.FlexPersistentVolumeSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.FlexPersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.FlexPersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.FlexPersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.FlexPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.FlexPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.FlexPersistentVolumeSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.FlexPersistentVolumeSource.Builder newBuilder()
-
newBuilder
public static Generated.FlexPersistentVolumeSource.Builder newBuilder(Generated.FlexPersistentVolumeSource prototype)
-
toBuilder
public Generated.FlexPersistentVolumeSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.FlexPersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.FlexPersistentVolumeSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.FlexPersistentVolumeSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.FlexPersistentVolumeSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.FlexPersistentVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-