public static final class V1.FlexPersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements V1.FlexPersistentVolumeSourceOrBuilder
FlexPersistentVolumeSource represents a generic persistent volume resource that is provisioned/attached using an exec based plugin.Protobuf type
k8s.io.api.core.v1.FlexPersistentVolumeSource| Modifier and Type | Class and Description |
|---|---|
static class |
V1.FlexPersistentVolumeSource.Builder
FlexPersistentVolumeSource represents a generic persistent volume resource that is
provisioned/attached using an exec based plugin.
|
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 |
OPTIONS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.FlexPersistentVolumeSource> |
PARSER
Deprecated.
|
static int |
READONLY_FIELD_NUMBER |
static int |
SECRETREF_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsOptions(String key)
Optional: Extra command options if any.
|
boolean |
equals(Object obj) |
static V1.FlexPersistentVolumeSource |
getDefaultInstance() |
V1.FlexPersistentVolumeSource |
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.
|
Map<String,String> |
getOptions()
Deprecated.
|
int |
getOptionsCount()
Optional: Extra command options if any.
|
Map<String,String> |
getOptionsMap()
Optional: Extra command options if any.
|
String |
getOptionsOrDefault(String key,
String defaultValue)
Optional: Extra command options if any.
|
String |
getOptionsOrThrow(String key)
Optional: Extra command options if any.
|
com.google.protobuf.Parser<V1.FlexPersistentVolumeSource> |
getParserForType() |
boolean |
getReadOnly()
Optional: Defaults to false (read/write).
|
V1.SecretReference |
getSecretRef()
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.SecretReferenceOrBuilder |
getSecretRefOrBuilder()
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDriver()
Driver is the name of the driver to use for this volume.
|
boolean |
hasFsType()
Filesystem type to mount.
|
int |
hashCode() |
boolean |
hasReadOnly()
Optional: Defaults to false (read/write).
|
boolean |
hasSecretRef()
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static V1.FlexPersistentVolumeSource.Builder |
newBuilder() |
static V1.FlexPersistentVolumeSource.Builder |
newBuilder(V1.FlexPersistentVolumeSource prototype) |
V1.FlexPersistentVolumeSource.Builder |
newBuilderForType() |
protected V1.FlexPersistentVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.FlexPersistentVolumeSource |
parseDelimitedFrom(InputStream input) |
static V1.FlexPersistentVolumeSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.FlexPersistentVolumeSource |
parseFrom(byte[] data) |
static V1.FlexPersistentVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.FlexPersistentVolumeSource |
parseFrom(ByteBuffer data) |
static V1.FlexPersistentVolumeSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.FlexPersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static V1.FlexPersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.FlexPersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.FlexPersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.FlexPersistentVolumeSource |
parseFrom(InputStream input) |
static V1.FlexPersistentVolumeSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.FlexPersistentVolumeSource> |
parser() |
V1.FlexPersistentVolumeSource.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, 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 FSTYPE_FIELD_NUMBER
public static final int SECRETREF_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.FlexPersistentVolumeSource> 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 driver to use for this volume.
optional string driver = 1;hasDriver in interface V1.FlexPersistentVolumeSourceOrBuilderpublic String getDriver()
Driver is the name of the driver to use for this volume.
optional string driver = 1;getDriver in interface V1.FlexPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getDriverBytes()
Driver is the name of the driver to use for this volume.
optional string driver = 1;getDriverBytes in interface V1.FlexPersistentVolumeSourceOrBuilderpublic boolean hasFsType()
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;hasFsType in interface V1.FlexPersistentVolumeSourceOrBuilderpublic String getFsType()
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;getFsType in interface V1.FlexPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getFsTypeBytes()
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;getFsTypeBytes in interface V1.FlexPersistentVolumeSourceOrBuilderpublic boolean hasSecretRef()
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;hasSecretRef in interface V1.FlexPersistentVolumeSourceOrBuilderpublic V1.SecretReference getSecretRef()
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;getSecretRef in interface V1.FlexPersistentVolumeSourceOrBuilderpublic V1.SecretReferenceOrBuilder getSecretRefOrBuilder()
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;getSecretRefOrBuilder in interface V1.FlexPersistentVolumeSourceOrBuilderpublic boolean hasReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;hasReadOnly in interface V1.FlexPersistentVolumeSourceOrBuilderpublic boolean getReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;getReadOnly in interface V1.FlexPersistentVolumeSourceOrBuilderpublic int getOptionsCount()
V1.FlexPersistentVolumeSourceOrBuilderOptional: Extra command options if any. +optional
map<string, string> options = 5;getOptionsCount in interface V1.FlexPersistentVolumeSourceOrBuilderpublic boolean containsOptions(String key)
Optional: Extra command options if any. +optional
map<string, string> options = 5;containsOptions in interface V1.FlexPersistentVolumeSourceOrBuilder@Deprecated public Map<String,String> getOptions()
getOptionsMap() instead.getOptions in interface V1.FlexPersistentVolumeSourceOrBuilderpublic Map<String,String> getOptionsMap()
Optional: Extra command options if any. +optional
map<string, string> options = 5;getOptionsMap in interface V1.FlexPersistentVolumeSourceOrBuilderpublic String getOptionsOrDefault(String key, String defaultValue)
Optional: Extra command options if any. +optional
map<string, string> options = 5;getOptionsOrDefault in interface V1.FlexPersistentVolumeSourceOrBuilderpublic String getOptionsOrThrow(String key)
Optional: Extra command options if any. +optional
map<string, string> options = 5;getOptionsOrThrow in interface V1.FlexPersistentVolumeSourceOrBuilderpublic 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.FlexPersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.FlexPersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.FlexPersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.FlexPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.FlexPersistentVolumeSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.FlexPersistentVolumeSource.Builder newBuilder()
public static V1.FlexPersistentVolumeSource.Builder newBuilder(V1.FlexPersistentVolumeSource prototype)
public V1.FlexPersistentVolumeSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.FlexPersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.FlexPersistentVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<V1.FlexPersistentVolumeSource> parser()
public com.google.protobuf.Parser<V1.FlexPersistentVolumeSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.FlexPersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.