public static final class V1.FlexPersistentVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder> 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 | Method and Description |
|---|---|
V1.FlexPersistentVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.FlexPersistentVolumeSource |
build() |
V1.FlexPersistentVolumeSource |
buildPartial() |
V1.FlexPersistentVolumeSource.Builder |
clear() |
V1.FlexPersistentVolumeSource.Builder |
clearDriver()
Driver is the name of the driver to use for this volume.
|
V1.FlexPersistentVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.FlexPersistentVolumeSource.Builder |
clearFsType()
Filesystem type to mount.
|
V1.FlexPersistentVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.FlexPersistentVolumeSource.Builder |
clearOptions() |
V1.FlexPersistentVolumeSource.Builder |
clearReadOnly()
Optional: Defaults to false (read/write).
|
V1.FlexPersistentVolumeSource.Builder |
clearSecretRef()
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.FlexPersistentVolumeSource.Builder |
clone() |
boolean |
containsOptions(String key)
Optional: Extra command options if any.
|
V1.FlexPersistentVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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> |
getMutableOptions()
Deprecated.
|
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.
|
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.SecretReference.Builder |
getSecretRefBuilder()
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.
|
boolean |
hasDriver()
Driver is the name of the driver to use for this volume.
|
boolean |
hasFsType()
Filesystem type to mount.
|
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) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
V1.FlexPersistentVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.FlexPersistentVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.FlexPersistentVolumeSource.Builder |
mergeFrom(V1.FlexPersistentVolumeSource other) |
V1.FlexPersistentVolumeSource.Builder |
mergeSecretRef(V1.SecretReference value)
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.FlexPersistentVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.FlexPersistentVolumeSource.Builder |
putAllOptions(Map<String,String> values)
Optional: Extra command options if any.
|
V1.FlexPersistentVolumeSource.Builder |
putOptions(String key,
String value)
Optional: Extra command options if any.
|
V1.FlexPersistentVolumeSource.Builder |
removeOptions(String key)
Optional: Extra command options if any.
|
V1.FlexPersistentVolumeSource.Builder |
setDriver(String value)
Driver is the name of the driver to use for this volume.
|
V1.FlexPersistentVolumeSource.Builder |
setDriverBytes(com.google.protobuf.ByteString value)
Driver is the name of the driver to use for this volume.
|
V1.FlexPersistentVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.FlexPersistentVolumeSource.Builder |
setFsType(String value)
Filesystem type to mount.
|
V1.FlexPersistentVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type to mount.
|
V1.FlexPersistentVolumeSource.Builder |
setReadOnly(boolean value)
Optional: Defaults to false (read/write).
|
V1.FlexPersistentVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.FlexPersistentVolumeSource.Builder |
setSecretRef(V1.SecretReference.Builder builderForValue)
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.FlexPersistentVolumeSource.Builder |
setSecretRef(V1.SecretReference value)
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.FlexPersistentVolumeSource.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.FlexPersistentVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.FlexPersistentVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.FlexPersistentVolumeSource.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder mergeFrom(V1.FlexPersistentVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public V1.FlexPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.FlexPersistentVolumeSource.Builder>IOExceptionpublic 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 V1.FlexPersistentVolumeSource.Builder setDriver(String value)
Driver is the name of the driver to use for this volume.
optional string driver = 1;public V1.FlexPersistentVolumeSource.Builder clearDriver()
Driver is the name of the driver to use for this volume.
optional string driver = 1;public V1.FlexPersistentVolumeSource.Builder setDriverBytes(com.google.protobuf.ByteString value)
Driver is the name of the driver to use for this volume.
optional string driver = 1;public 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 V1.FlexPersistentVolumeSource.Builder setFsType(String value)
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;public V1.FlexPersistentVolumeSource.Builder clearFsType()
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;public V1.FlexPersistentVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
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;public 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.FlexPersistentVolumeSource.Builder setSecretRef(V1.SecretReference value)
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;public V1.FlexPersistentVolumeSource.Builder setSecretRef(V1.SecretReference.Builder builderForValue)
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;public V1.FlexPersistentVolumeSource.Builder mergeSecretRef(V1.SecretReference value)
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;public V1.FlexPersistentVolumeSource.Builder clearSecretRef()
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;public V1.SecretReference.Builder getSecretRefBuilder()
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;public 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 V1.FlexPersistentVolumeSource.Builder setReadOnly(boolean value)
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;public V1.FlexPersistentVolumeSource.Builder clearReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;public 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 V1.FlexPersistentVolumeSource.Builder clearOptions()
public V1.FlexPersistentVolumeSource.Builder removeOptions(String key)
Optional: Extra command options if any. +optional
map<string, string> options = 5;@Deprecated public Map<String,String> getMutableOptions()
public V1.FlexPersistentVolumeSource.Builder putOptions(String key, String value)
Optional: Extra command options if any. +optional
map<string, string> options = 5;public V1.FlexPersistentVolumeSource.Builder putAllOptions(Map<String,String> values)
Optional: Extra command options if any. +optional
map<string, string> options = 5;public final V1.FlexPersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>public final V1.FlexPersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>Copyright © 2021. All rights reserved.