Package io.kubernetes.client.proto
Class V1.FlexPersistentVolumeSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
io.kubernetes.client.proto.V1.FlexPersistentVolumeSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.FlexPersistentVolumeSourceOrBuilder
,Cloneable
- Enclosing class:
- V1.FlexPersistentVolumeSource
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
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Driver is the name of the driver to use for this volume.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Filesystem type to mount.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional: Defaults to false (read/write).Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.clone()
boolean
containsOptions
(String key) Optional: Extra command options if any.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Driver is the name of the driver to use for this volume.com.google.protobuf.ByteString
Driver is the name of the driver to use for this volume.Filesystem type to mount.com.google.protobuf.ByteString
Filesystem type to mount.Deprecated.Deprecated.int
Optional: Extra command options if any.Optional: Extra command options if any.getOptionsOrDefault
(String key, String defaultValue) Optional: Extra command options if any.getOptionsOrThrow
(String key) Optional: Extra command options if any.boolean
Optional: Defaults to false (read/write).Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.boolean
Driver is the name of the driver to use for this volume.boolean
Filesystem type to mount.boolean
Optional: Defaults to false (read/write).boolean
Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeSecretRef
(V1.SecretReference value) Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) putAllOptions
(Map<String, String> values) Optional: Extra command options if any.putOptions
(String key, String value) Optional: Extra command options if any.removeOptions
(String key) Optional: Extra command options if any.Driver is the name of the driver to use for this volume.setDriverBytes
(com.google.protobuf.ByteString value) Driver is the name of the driver to use for this volume.Filesystem type to mount.setFsTypeBytes
(com.google.protobuf.ByteString value) Filesystem type to mount.setReadOnly
(boolean value) Optional: Defaults to false (read/write).setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecretRef
(V1.SecretReference value) Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.setSecretRef
(V1.SecretReference.Builder builderForValue) Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
setField
public V1.FlexPersistentVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
clearField
public V1.FlexPersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
clearOneof
public V1.FlexPersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
setRepeatedField
public V1.FlexPersistentVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
addRepeatedField
public V1.FlexPersistentVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.FlexPersistentVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
mergeFrom
public V1.FlexPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.FlexPersistentVolumeSource.Builder>
- Throws:
IOException
-
hasDriver
public boolean hasDriver()Driver is the name of the driver to use for this volume.
optional string driver = 1;
- Specified by:
hasDriver
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
getDriver
Driver is the name of the driver to use for this volume.
optional string driver = 1;
- Specified by:
getDriver
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
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:
getDriverBytes
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
setDriver
Driver is the name of the driver to use for this volume.
optional string driver = 1;
-
clearDriver
Driver is the name of the driver to use for this volume.
optional string driver = 1;
-
setDriverBytes
Driver is the name of the driver to use for this volume.
optional string driver = 1;
-
hasFsType
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;
- Specified by:
hasFsType
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
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;
- Specified by:
getFsType
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
getFsTypeBytes
public 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;
- Specified by:
getFsTypeBytes
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
setFsType
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;
-
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;
-
setFsTypeBytes
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;
-
hasSecretRef
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;
- Specified by:
hasSecretRef
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
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;
- Specified by:
getSecretRef
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
setSecretRef
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;
-
setSecretRef
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;
-
mergeSecretRef
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;
-
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;
-
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;
-
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;
- Specified by:
getSecretRefOrBuilder
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
hasReadOnly
public boolean hasReadOnly()Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;
- Specified by:
hasReadOnly
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
getReadOnly
public boolean getReadOnly()Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;
- Specified by:
getReadOnly
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
setReadOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;
-
clearReadOnly
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;
-
getOptionsCount
public int getOptionsCount()Description copied from interface:V1.FlexPersistentVolumeSourceOrBuilder
Optional: Extra command options if any. +optional
map<string, string> options = 5;
- Specified by:
getOptionsCount
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
containsOptions
Optional: Extra command options if any. +optional
map<string, string> options = 5;
- Specified by:
containsOptions
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
getOptions
Deprecated.UsegetOptionsMap()
instead.- Specified by:
getOptions
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
getOptionsMap
Optional: Extra command options if any. +optional
map<string, string> options = 5;
- Specified by:
getOptionsMap
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
getOptionsOrDefault
Optional: Extra command options if any. +optional
map<string, string> options = 5;
- Specified by:
getOptionsOrDefault
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
getOptionsOrThrow
Optional: Extra command options if any. +optional
map<string, string> options = 5;
- Specified by:
getOptionsOrThrow
in interfaceV1.FlexPersistentVolumeSourceOrBuilder
-
clearOptions
-
removeOptions
Optional: Extra command options if any. +optional
map<string, string> options = 5;
-
getMutableOptions
Deprecated.Use alternate mutation accessors instead. -
putOptions
Optional: Extra command options if any. +optional
map<string, string> options = 5;
-
putAllOptions
Optional: Extra command options if any. +optional
map<string, string> options = 5;
-
setUnknownFields
public final V1.FlexPersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-
mergeUnknownFields
public final V1.FlexPersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.FlexPersistentVolumeSource.Builder>
-