public static final class V1.FlexVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexVolumeSource.Builder> implements V1.FlexVolumeSourceOrBuilder
FlexVolume represents a generic volume resource that is provisioned/attached using an exec based plugin.Protobuf type
k8s.io.api.core.v1.FlexVolumeSource| Modifier and Type | Method and Description |
|---|---|
V1.FlexVolumeSource.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.FlexVolumeSource |
build() |
V1.FlexVolumeSource |
buildPartial() |
V1.FlexVolumeSource.Builder |
clear() |
V1.FlexVolumeSource.Builder |
clearDriver()
Driver is the name of the driver to use for this volume.
|
V1.FlexVolumeSource.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1.FlexVolumeSource.Builder |
clearFsType()
Filesystem type to mount.
|
V1.FlexVolumeSource.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1.FlexVolumeSource.Builder |
clearOptions() |
V1.FlexVolumeSource.Builder |
clearReadOnly()
Optional: Defaults to false (read/write).
|
V1.FlexVolumeSource.Builder |
clearSecretRef()
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.FlexVolumeSource.Builder |
clone() |
boolean |
containsOptions(String key)
Optional: Extra command options if any.
|
V1.FlexVolumeSource |
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.LocalObjectReference |
getSecretRef()
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.LocalObjectReference.Builder |
getSecretRefBuilder()
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.LocalObjectReferenceOrBuilder |
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.FlexVolumeSource.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1.FlexVolumeSource.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1.FlexVolumeSource.Builder |
mergeFrom(V1.FlexVolumeSource other) |
V1.FlexVolumeSource.Builder |
mergeSecretRef(V1.LocalObjectReference value)
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.FlexVolumeSource.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1.FlexVolumeSource.Builder |
putAllOptions(Map<String,String> values)
Optional: Extra command options if any.
|
V1.FlexVolumeSource.Builder |
putOptions(String key,
String value)
Optional: Extra command options if any.
|
V1.FlexVolumeSource.Builder |
removeOptions(String key)
Optional: Extra command options if any.
|
V1.FlexVolumeSource.Builder |
setDriver(String value)
Driver is the name of the driver to use for this volume.
|
V1.FlexVolumeSource.Builder |
setDriverBytes(com.google.protobuf.ByteString value)
Driver is the name of the driver to use for this volume.
|
V1.FlexVolumeSource.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1.FlexVolumeSource.Builder |
setFsType(String value)
Filesystem type to mount.
|
V1.FlexVolumeSource.Builder |
setFsTypeBytes(com.google.protobuf.ByteString value)
Filesystem type to mount.
|
V1.FlexVolumeSource.Builder |
setReadOnly(boolean value)
Optional: Defaults to false (read/write).
|
V1.FlexVolumeSource.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1.FlexVolumeSource.Builder |
setSecretRef(V1.LocalObjectReference.Builder builderForValue)
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.FlexVolumeSource.Builder |
setSecretRef(V1.LocalObjectReference value)
Optional: SecretRef is reference to the secret object containing
sensitive information to pass to the plugin scripts.
|
V1.FlexVolumeSource.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.FlexVolumeSource.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexVolumeSource.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexVolumeSource.Builder>public V1.FlexVolumeSource.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.FlexVolumeSource.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.FlexVolumeSource.Builder>public V1.FlexVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.FlexVolumeSource build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.FlexVolumeSource buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.FlexVolumeSource.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.FlexVolumeSource.Builder>public V1.FlexVolumeSource.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.FlexVolumeSource.Builder>public V1.FlexVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexVolumeSource.Builder>public V1.FlexVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexVolumeSource.Builder>public V1.FlexVolumeSource.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.FlexVolumeSource.Builder>public V1.FlexVolumeSource.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.FlexVolumeSource.Builder>public V1.FlexVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.FlexVolumeSource.Builder>public V1.FlexVolumeSource.Builder mergeFrom(V1.FlexVolumeSource other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexVolumeSource.Builder>public V1.FlexVolumeSource.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.FlexVolumeSource.Builder>IOExceptionpublic boolean hasDriver()
Driver is the name of the driver to use for this volume.
optional string driver = 1;hasDriver in interface V1.FlexVolumeSourceOrBuilderpublic String getDriver()
Driver is the name of the driver to use for this volume.
optional string driver = 1;getDriver in interface V1.FlexVolumeSourceOrBuilderpublic 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.FlexVolumeSourceOrBuilderpublic V1.FlexVolumeSource.Builder setDriver(String value)
Driver is the name of the driver to use for this volume.
optional string driver = 1;public V1.FlexVolumeSource.Builder clearDriver()
Driver is the name of the driver to use for this volume.
optional string driver = 1;public V1.FlexVolumeSource.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.FlexVolumeSourceOrBuilderpublic 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.FlexVolumeSourceOrBuilderpublic 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.FlexVolumeSourceOrBuilderpublic V1.FlexVolumeSource.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.FlexVolumeSource.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.FlexVolumeSource.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.LocalObjectReference secretRef = 3;hasSecretRef in interface V1.FlexVolumeSourceOrBuilderpublic V1.LocalObjectReference 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.LocalObjectReference secretRef = 3;getSecretRef in interface V1.FlexVolumeSourceOrBuilderpublic V1.FlexVolumeSource.Builder setSecretRef(V1.LocalObjectReference 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.LocalObjectReference secretRef = 3;public V1.FlexVolumeSource.Builder setSecretRef(V1.LocalObjectReference.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.LocalObjectReference secretRef = 3;public V1.FlexVolumeSource.Builder mergeSecretRef(V1.LocalObjectReference 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.LocalObjectReference secretRef = 3;public V1.FlexVolumeSource.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.LocalObjectReference secretRef = 3;public V1.LocalObjectReference.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.LocalObjectReference secretRef = 3;public V1.LocalObjectReferenceOrBuilder 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.LocalObjectReference secretRef = 3;getSecretRefOrBuilder in interface V1.FlexVolumeSourceOrBuilderpublic 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.FlexVolumeSourceOrBuilderpublic 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.FlexVolumeSourceOrBuilderpublic V1.FlexVolumeSource.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.FlexVolumeSource.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.FlexVolumeSourceOrBuilderOptional: Extra command options if any. +optional
map<string, string> options = 5;getOptionsCount in interface V1.FlexVolumeSourceOrBuilderpublic boolean containsOptions(String key)
Optional: Extra command options if any. +optional
map<string, string> options = 5;containsOptions in interface V1.FlexVolumeSourceOrBuilder@Deprecated public Map<String,String> getOptions()
getOptionsMap() instead.getOptions in interface V1.FlexVolumeSourceOrBuilderpublic Map<String,String> getOptionsMap()
Optional: Extra command options if any. +optional
map<string, string> options = 5;getOptionsMap in interface V1.FlexVolumeSourceOrBuilderpublic String getOptionsOrDefault(String key, String defaultValue)
Optional: Extra command options if any. +optional
map<string, string> options = 5;getOptionsOrDefault in interface V1.FlexVolumeSourceOrBuilderpublic String getOptionsOrThrow(String key)
Optional: Extra command options if any. +optional
map<string, string> options = 5;getOptionsOrThrow in interface V1.FlexVolumeSourceOrBuilderpublic V1.FlexVolumeSource.Builder clearOptions()
public V1.FlexVolumeSource.Builder removeOptions(String key)
Optional: Extra command options if any. +optional
map<string, string> options = 5;@Deprecated public Map<String,String> getMutableOptions()
public V1.FlexVolumeSource.Builder putOptions(String key, String value)
Optional: Extra command options if any. +optional
map<string, string> options = 5;public V1.FlexVolumeSource.Builder putAllOptions(Map<String,String> values)
Optional: Extra command options if any. +optional
map<string, string> options = 5;public final V1.FlexVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexVolumeSource.Builder>public final V1.FlexVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexVolumeSource.Builder>Copyright © 2021. All rights reserved.