Package k8s.io.api.core.v1
Class Generated.RBDVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.RBDVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.RBDVolumeSourceOrBuilder
- Enclosing class:
- Generated.RBDVolumeSource
public static final class Generated.RBDVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder> implements Generated.RBDVolumeSourceOrBuilder
Represents a Rados Block Device mount that lasts the lifetime of a pod. RBD volumes support ownership management and SELinux relabeling.
Protobuf typek8s.io.api.core.v1.RBDVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.RBDVolumeSource.BuilderaddAllMonitors(Iterable<String> values)monitors is a collection of Ceph monitors.Generated.RBDVolumeSource.BuilderaddMonitors(String value)monitors is a collection of Ceph monitors.Generated.RBDVolumeSource.BuilderaddMonitorsBytes(com.google.protobuf.ByteString value)monitors is a collection of Ceph monitors.Generated.RBDVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.RBDVolumeSourcebuild()Generated.RBDVolumeSourcebuildPartial()Generated.RBDVolumeSource.Builderclear()Generated.RBDVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.RBDVolumeSource.BuilderclearFsType()fsType is the filesystem type of the volume that you want to mount.Generated.RBDVolumeSource.BuilderclearImage()image is the rados image name.Generated.RBDVolumeSource.BuilderclearKeyring()keyring is the path to key ring for RBDUser.Generated.RBDVolumeSource.BuilderclearMonitors()monitors is a collection of Ceph monitors.Generated.RBDVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.RBDVolumeSource.BuilderclearPool()pool is the rados pool name.Generated.RBDVolumeSource.BuilderclearReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.Generated.RBDVolumeSource.BuilderclearSecretRef()secretRef is name of the authentication secret for RBDUser.Generated.RBDVolumeSource.BuilderclearUser()user is the rados user name.Generated.RBDVolumeSource.Builderclone()Generated.RBDVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFsType()fsType is the filesystem type of the volume that you want to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type of the volume that you want to mount.StringgetImage()image is the rados image name.com.google.protobuf.ByteStringgetImageBytes()image is the rados image name.StringgetKeyring()keyring is the path to key ring for RBDUser.com.google.protobuf.ByteStringgetKeyringBytes()keyring is the path to key ring for RBDUser.StringgetMonitors(int index)monitors is a collection of Ceph monitors.com.google.protobuf.ByteStringgetMonitorsBytes(int index)monitors is a collection of Ceph monitors.intgetMonitorsCount()monitors is a collection of Ceph monitors.com.google.protobuf.ProtocolStringListgetMonitorsList()monitors is a collection of Ceph monitors.StringgetPool()pool is the rados pool name.com.google.protobuf.ByteStringgetPoolBytes()pool is the rados pool name.booleangetReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.Generated.LocalObjectReferencegetSecretRef()secretRef is name of the authentication secret for RBDUser.Generated.LocalObjectReference.BuildergetSecretRefBuilder()secretRef is name of the authentication secret for RBDUser.Generated.LocalObjectReferenceOrBuildergetSecretRefOrBuilder()secretRef is name of the authentication secret for RBDUser.StringgetUser()user is the rados user name.com.google.protobuf.ByteStringgetUserBytes()user is the rados user name.booleanhasFsType()fsType is the filesystem type of the volume that you want to mount.booleanhasImage()image is the rados image name.booleanhasKeyring()keyring is the path to key ring for RBDUser.booleanhasPool()pool is the rados pool name.booleanhasReadOnly()readOnly here will force the ReadOnly setting in VolumeMounts.booleanhasSecretRef()secretRef is name of the authentication secret for RBDUser.booleanhasUser()user is the rados user name.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.RBDVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.RBDVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.RBDVolumeSource.BuildermergeFrom(Generated.RBDVolumeSource other)Generated.RBDVolumeSource.BuildermergeSecretRef(Generated.LocalObjectReference value)secretRef is name of the authentication secret for RBDUser.Generated.RBDVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.RBDVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.RBDVolumeSource.BuildersetFsType(String value)fsType is the filesystem type of the volume that you want to mount.Generated.RBDVolumeSource.BuildersetFsTypeBytes(com.google.protobuf.ByteString value)fsType is the filesystem type of the volume that you want to mount.Generated.RBDVolumeSource.BuildersetImage(String value)image is the rados image name.Generated.RBDVolumeSource.BuildersetImageBytes(com.google.protobuf.ByteString value)image is the rados image name.Generated.RBDVolumeSource.BuildersetKeyring(String value)keyring is the path to key ring for RBDUser.Generated.RBDVolumeSource.BuildersetKeyringBytes(com.google.protobuf.ByteString value)keyring is the path to key ring for RBDUser.Generated.RBDVolumeSource.BuildersetMonitors(int index, String value)monitors is a collection of Ceph monitors.Generated.RBDVolumeSource.BuildersetPool(String value)pool is the rados pool name.Generated.RBDVolumeSource.BuildersetPoolBytes(com.google.protobuf.ByteString value)pool is the rados pool name.Generated.RBDVolumeSource.BuildersetReadOnly(boolean value)readOnly here will force the ReadOnly setting in VolumeMounts.Generated.RBDVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.RBDVolumeSource.BuildersetSecretRef(Generated.LocalObjectReference value)secretRef is name of the authentication secret for RBDUser.Generated.RBDVolumeSource.BuildersetSecretRef(Generated.LocalObjectReference.Builder builderForValue)secretRef is name of the authentication secret for RBDUser.Generated.RBDVolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.RBDVolumeSource.BuildersetUser(String value)user is the rados user name.Generated.RBDVolumeSource.BuildersetUserBytes(com.google.protobuf.ByteString value)user is the rados user name.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
clear
public Generated.RBDVolumeSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.RBDVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.RBDVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.RBDVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.RBDVolumeSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
setField
public Generated.RBDVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
clearField
public Generated.RBDVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
clearOneof
public Generated.RBDVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
setRepeatedField
public Generated.RBDVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
addRepeatedField
public Generated.RBDVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
mergeFrom
public Generated.RBDVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.RBDVolumeSource.Builder>
-
mergeFrom
public Generated.RBDVolumeSource.Builder mergeFrom(Generated.RBDVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
mergeFrom
public Generated.RBDVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.RBDVolumeSource.Builder>- Throws:
IOException
-
getMonitorsList
public com.google.protobuf.ProtocolStringList getMonitorsList()
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Specified by:
getMonitorsListin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- A list containing the monitors.
-
getMonitorsCount
public int getMonitorsCount()
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Specified by:
getMonitorsCountin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The count of monitors.
-
getMonitors
public String getMonitors(int index)
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Specified by:
getMonitorsin interfaceGenerated.RBDVolumeSourceOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The monitors at the given index.
-
getMonitorsBytes
public com.google.protobuf.ByteString getMonitorsBytes(int index)
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Specified by:
getMonitorsBytesin interfaceGenerated.RBDVolumeSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the monitors at the given index.
-
setMonitors
public Generated.RBDVolumeSource.Builder setMonitors(int index, String value)
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Parameters:
index- The index to set the value at.value- The monitors to set.- Returns:
- This builder for chaining.
-
addMonitors
public Generated.RBDVolumeSource.Builder addMonitors(String value)
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Parameters:
value- The monitors to add.- Returns:
- This builder for chaining.
-
addAllMonitors
public Generated.RBDVolumeSource.Builder addAllMonitors(Iterable<String> values)
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Parameters:
values- The monitors to add.- Returns:
- This builder for chaining.
-
clearMonitors
public Generated.RBDVolumeSource.Builder clearMonitors()
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Returns:
- This builder for chaining.
-
addMonitorsBytes
public Generated.RBDVolumeSource.Builder addMonitorsBytes(com.google.protobuf.ByteString value)
monitors is a collection of Ceph monitors. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Parameters:
value- The bytes of the monitors to add.- Returns:
- This builder for chaining.
-
hasImage
public boolean hasImage()
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
optional string image = 2;- Specified by:
hasImagein interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- Whether the image field is set.
-
getImage
public String getImage()
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
optional string image = 2;- Specified by:
getImagein interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The image.
-
getImageBytes
public com.google.protobuf.ByteString getImageBytes()
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
optional string image = 2;- Specified by:
getImageBytesin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The bytes for image.
-
setImage
public Generated.RBDVolumeSource.Builder setImage(String value)
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
optional string image = 2;- Parameters:
value- The image to set.- Returns:
- This builder for chaining.
-
clearImage
public Generated.RBDVolumeSource.Builder clearImage()
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
optional string image = 2;- Returns:
- This builder for chaining.
-
setImageBytes
public Generated.RBDVolumeSource.Builder setImageBytes(com.google.protobuf.ByteString value)
image is the rados image name. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it
optional string image = 2;- Parameters:
value- The bytes for image to set.- Returns:
- This builder for chaining.
-
hasFsType
public boolean hasFsType()
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Specified by:
hasFsTypein interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Specified by:
getFsTypein interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Specified by:
getFsTypeBytesin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
setFsType
public Generated.RBDVolumeSource.Builder setFsType(String value)
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Parameters:
value- The fsType to set.- Returns:
- This builder for chaining.
-
clearFsType
public Generated.RBDVolumeSource.Builder clearFsType()
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Returns:
- This builder for chaining.
-
setFsTypeBytes
public Generated.RBDVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#rbd TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 3;- Parameters:
value- The bytes for fsType to set.- Returns:
- This builder for chaining.
-
hasPool
public boolean hasPool()
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="rbd"
optional string pool = 4;- Specified by:
hasPoolin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- Whether the pool field is set.
-
getPool
public String getPool()
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="rbd"
optional string pool = 4;- Specified by:
getPoolin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The pool.
-
getPoolBytes
public com.google.protobuf.ByteString getPoolBytes()
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="rbd"
optional string pool = 4;- Specified by:
getPoolBytesin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The bytes for pool.
-
setPool
public Generated.RBDVolumeSource.Builder setPool(String value)
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="rbd"
optional string pool = 4;- Parameters:
value- The pool to set.- Returns:
- This builder for chaining.
-
clearPool
public Generated.RBDVolumeSource.Builder clearPool()
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="rbd"
optional string pool = 4;- Returns:
- This builder for chaining.
-
setPoolBytes
public Generated.RBDVolumeSource.Builder setPoolBytes(com.google.protobuf.ByteString value)
pool is the rados pool name. Default is rbd. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="rbd"
optional string pool = 4;- Parameters:
value- The bytes for pool to set.- Returns:
- This builder for chaining.
-
hasUser
public boolean hasUser()
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="admin"
optional string user = 5;- Specified by:
hasUserin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- Whether the user field is set.
-
getUser
public String getUser()
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="admin"
optional string user = 5;- Specified by:
getUserin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="admin"
optional string user = 5;- Specified by:
getUserBytesin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The bytes for user.
-
setUser
public Generated.RBDVolumeSource.Builder setUser(String value)
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="admin"
optional string user = 5;- Parameters:
value- The user to set.- Returns:
- This builder for chaining.
-
clearUser
public Generated.RBDVolumeSource.Builder clearUser()
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="admin"
optional string user = 5;- Returns:
- This builder for chaining.
-
setUserBytes
public Generated.RBDVolumeSource.Builder setUserBytes(com.google.protobuf.ByteString value)
user is the rados user name. Default is admin. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="admin"
optional string user = 5;- Parameters:
value- The bytes for user to set.- Returns:
- This builder for chaining.
-
hasKeyring
public boolean hasKeyring()
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="/etc/ceph/keyring"
optional string keyring = 6;- Specified by:
hasKeyringin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- Whether the keyring field is set.
-
getKeyring
public String getKeyring()
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="/etc/ceph/keyring"
optional string keyring = 6;- Specified by:
getKeyringin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The keyring.
-
getKeyringBytes
public com.google.protobuf.ByteString getKeyringBytes()
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="/etc/ceph/keyring"
optional string keyring = 6;- Specified by:
getKeyringBytesin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The bytes for keyring.
-
setKeyring
public Generated.RBDVolumeSource.Builder setKeyring(String value)
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="/etc/ceph/keyring"
optional string keyring = 6;- Parameters:
value- The keyring to set.- Returns:
- This builder for chaining.
-
clearKeyring
public Generated.RBDVolumeSource.Builder clearKeyring()
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="/etc/ceph/keyring"
optional string keyring = 6;- Returns:
- This builder for chaining.
-
setKeyringBytes
public Generated.RBDVolumeSource.Builder setKeyringBytes(com.google.protobuf.ByteString value)
keyring is the path to key ring for RBDUser. Default is /etc/ceph/keyring. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional +default="/etc/ceph/keyring"
optional string keyring = 6;- Parameters:
value- The bytes for keyring to set.- Returns:
- This builder for chaining.
-
hasSecretRef
public boolean hasSecretRef()
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;- Specified by:
hasSecretRefin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- Whether the secretRef field is set.
-
getSecretRef
public Generated.LocalObjectReference getSecretRef()
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;- Specified by:
getSecretRefin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The secretRef.
-
setSecretRef
public Generated.RBDVolumeSource.Builder setSecretRef(Generated.LocalObjectReference value)
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;
-
setSecretRef
public Generated.RBDVolumeSource.Builder setSecretRef(Generated.LocalObjectReference.Builder builderForValue)
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;
-
mergeSecretRef
public Generated.RBDVolumeSource.Builder mergeSecretRef(Generated.LocalObjectReference value)
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;
-
clearSecretRef
public Generated.RBDVolumeSource.Builder clearSecretRef()
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;
-
getSecretRefBuilder
public Generated.LocalObjectReference.Builder getSecretRefBuilder()
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;
-
getSecretRefOrBuilder
public Generated.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
secretRef is name of the authentication secret for RBDUser. If provided overrides keyring. Default is nil. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 7;- Specified by:
getSecretRefOrBuilderin interfaceGenerated.RBDVolumeSourceOrBuilder
-
hasReadOnly
public boolean hasReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional bool readOnly = 8;- Specified by:
hasReadOnlyin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional bool readOnly = 8;- Specified by:
getReadOnlyin interfaceGenerated.RBDVolumeSourceOrBuilder- Returns:
- The readOnly.
-
setReadOnly
public Generated.RBDVolumeSource.Builder setReadOnly(boolean value)
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional bool readOnly = 8;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.RBDVolumeSource.Builder clearReadOnly()
readOnly here will force the ReadOnly setting in VolumeMounts. Defaults to false. More info: https://examples.k8s.io/volumes/rbd/README.md#how-to-use-it +optional
optional bool readOnly = 8;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.RBDVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.RBDVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.RBDVolumeSource.Builder>
-
-