Package k8s.io.api.core.v1
Class Generated.CephFSPersistentVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.CephFSPersistentVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.CephFSPersistentVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.CephFSPersistentVolumeSourceOrBuilder
- Enclosing class:
- Generated.CephFSPersistentVolumeSource
public static final class Generated.CephFSPersistentVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.CephFSPersistentVolumeSource.Builder> implements Generated.CephFSPersistentVolumeSourceOrBuilder
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.
Protobuf typek8s.io.api.core.v1.CephFSPersistentVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.CephFSPersistentVolumeSource.BuilderaddAllMonitors(Iterable<String> values)monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicGenerated.CephFSPersistentVolumeSource.BuilderaddMonitors(String value)monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicGenerated.CephFSPersistentVolumeSource.BuilderaddMonitorsBytes(com.google.protobuf.ByteString value)monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicGenerated.CephFSPersistentVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.CephFSPersistentVolumeSourcebuild()Generated.CephFSPersistentVolumeSourcebuildPartial()Generated.CephFSPersistentVolumeSource.Builderclear()Generated.CephFSPersistentVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.CephFSPersistentVolumeSource.BuilderclearMonitors()monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicGenerated.CephFSPersistentVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.CephFSPersistentVolumeSource.BuilderclearPath()path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalGenerated.CephFSPersistentVolumeSource.BuilderclearReadOnly()readOnly is Optional: Defaults to false (read/write).Generated.CephFSPersistentVolumeSource.BuilderclearSecretFile()secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalGenerated.CephFSPersistentVolumeSource.BuilderclearSecretRef()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.Generated.CephFSPersistentVolumeSource.BuilderclearUser()user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalGenerated.CephFSPersistentVolumeSource.Builderclone()Generated.CephFSPersistentVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetMonitors(int index)monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomiccom.google.protobuf.ByteStringgetMonitorsBytes(int index)monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicintgetMonitorsCount()monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomiccom.google.protobuf.ProtocolStringListgetMonitorsList()monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicStringgetPath()path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalcom.google.protobuf.ByteStringgetPathBytes()path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalbooleangetReadOnly()readOnly is Optional: Defaults to false (read/write).StringgetSecretFile()secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalcom.google.protobuf.ByteStringgetSecretFileBytes()secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalGenerated.SecretReferencegetSecretRef()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.Generated.SecretReference.BuildergetSecretRefBuilder()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.Generated.SecretReferenceOrBuildergetSecretRefOrBuilder()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.StringgetUser()user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalcom.google.protobuf.ByteStringgetUserBytes()user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalbooleanhasPath()path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalbooleanhasReadOnly()readOnly is Optional: Defaults to false (read/write).booleanhasSecretFile()secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalbooleanhasSecretRef()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.booleanhasUser()user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.CephFSPersistentVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.CephFSPersistentVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.CephFSPersistentVolumeSource.BuildermergeFrom(Generated.CephFSPersistentVolumeSource other)Generated.CephFSPersistentVolumeSource.BuildermergeSecretRef(Generated.SecretReference value)secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.Generated.CephFSPersistentVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.CephFSPersistentVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.CephFSPersistentVolumeSource.BuildersetMonitors(int index, String value)monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomicGenerated.CephFSPersistentVolumeSource.BuildersetPath(String value)path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalGenerated.CephFSPersistentVolumeSource.BuildersetPathBytes(com.google.protobuf.ByteString value)path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalGenerated.CephFSPersistentVolumeSource.BuildersetReadOnly(boolean value)readOnly is Optional: Defaults to false (read/write).Generated.CephFSPersistentVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.CephFSPersistentVolumeSource.BuildersetSecretFile(String value)secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalGenerated.CephFSPersistentVolumeSource.BuildersetSecretFileBytes(com.google.protobuf.ByteString value)secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalGenerated.CephFSPersistentVolumeSource.BuildersetSecretRef(Generated.SecretReference value)secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.Generated.CephFSPersistentVolumeSource.BuildersetSecretRef(Generated.SecretReference.Builder builderForValue)secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.Generated.CephFSPersistentVolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.CephFSPersistentVolumeSource.BuildersetUser(String value)user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalGenerated.CephFSPersistentVolumeSource.BuildersetUserBytes(com.google.protobuf.ByteString value)user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional-
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.CephFSPersistentVolumeSource.Builder>
-
clear
public Generated.CephFSPersistentVolumeSource.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.CephFSPersistentVolumeSource.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.CephFSPersistentVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.CephFSPersistentVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.CephFSPersistentVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.CephFSPersistentVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.CephFSPersistentVolumeSource.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.CephFSPersistentVolumeSource.Builder>
-
setField
public Generated.CephFSPersistentVolumeSource.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.CephFSPersistentVolumeSource.Builder>
-
clearField
public Generated.CephFSPersistentVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CephFSPersistentVolumeSource.Builder>
-
clearOneof
public Generated.CephFSPersistentVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CephFSPersistentVolumeSource.Builder>
-
setRepeatedField
public Generated.CephFSPersistentVolumeSource.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.CephFSPersistentVolumeSource.Builder>
-
addRepeatedField
public Generated.CephFSPersistentVolumeSource.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.CephFSPersistentVolumeSource.Builder>
-
mergeFrom
public Generated.CephFSPersistentVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.CephFSPersistentVolumeSource.Builder>
-
mergeFrom
public Generated.CephFSPersistentVolumeSource.Builder mergeFrom(Generated.CephFSPersistentVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CephFSPersistentVolumeSource.Builder>
-
mergeFrom
public Generated.CephFSPersistentVolumeSource.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.CephFSPersistentVolumeSource.Builder>- Throws:
IOException
-
getMonitorsList
public com.google.protobuf.ProtocolStringList getMonitorsList()
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Specified by:
getMonitorsListin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- A list containing the monitors.
-
getMonitorsCount
public int getMonitorsCount()
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Specified by:
getMonitorsCountin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The count of monitors.
-
getMonitors
public String getMonitors(int index)
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Specified by:
getMonitorsin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- 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 Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Specified by:
getMonitorsBytesin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the monitors at the given index.
-
setMonitors
public Generated.CephFSPersistentVolumeSource.Builder setMonitors(int index, String value)
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/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.CephFSPersistentVolumeSource.Builder addMonitors(String value)
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/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.CephFSPersistentVolumeSource.Builder addAllMonitors(Iterable<String> values)
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/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.CephFSPersistentVolumeSource.Builder clearMonitors()
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +listType=atomic
repeated string monitors = 1;- Returns:
- This builder for chaining.
-
addMonitorsBytes
public Generated.CephFSPersistentVolumeSource.Builder addMonitorsBytes(com.google.protobuf.ByteString value)
monitors is Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/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.
-
hasPath
public boolean hasPath()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Specified by:
hasPathin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public String getPath()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Specified by:
getPathin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The path.
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Specified by:
getPathBytesin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The bytes for path.
-
setPath
public Generated.CephFSPersistentVolumeSource.Builder setPath(String value)
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Parameters:
value- The path to set.- Returns:
- This builder for chaining.
-
clearPath
public Generated.CephFSPersistentVolumeSource.Builder clearPath()
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Returns:
- This builder for chaining.
-
setPathBytes
public Generated.CephFSPersistentVolumeSource.Builder setPathBytes(com.google.protobuf.ByteString value)
path is Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;- Parameters:
value- The bytes for path to set.- Returns:
- This builder for chaining.
-
hasUser
public boolean hasUser()
user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;- Specified by:
hasUserin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- Whether the user field is set.
-
getUser
public String getUser()
user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;- Specified by:
getUserin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The user.
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()
user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;- Specified by:
getUserBytesin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The bytes for user.
-
setUser
public Generated.CephFSPersistentVolumeSource.Builder setUser(String value)
user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;- Parameters:
value- The user to set.- Returns:
- This builder for chaining.
-
clearUser
public Generated.CephFSPersistentVolumeSource.Builder clearUser()
user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;- Returns:
- This builder for chaining.
-
setUserBytes
public Generated.CephFSPersistentVolumeSource.Builder setUserBytes(com.google.protobuf.ByteString value)
user is Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;- Parameters:
value- The bytes for user to set.- Returns:
- This builder for chaining.
-
hasSecretFile
public boolean hasSecretFile()
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;- Specified by:
hasSecretFilein interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- Whether the secretFile field is set.
-
getSecretFile
public String getSecretFile()
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;- Specified by:
getSecretFilein interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The secretFile.
-
getSecretFileBytes
public com.google.protobuf.ByteString getSecretFileBytes()
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;- Specified by:
getSecretFileBytesin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The bytes for secretFile.
-
setSecretFile
public Generated.CephFSPersistentVolumeSource.Builder setSecretFile(String value)
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;- Parameters:
value- The secretFile to set.- Returns:
- This builder for chaining.
-
clearSecretFile
public Generated.CephFSPersistentVolumeSource.Builder clearSecretFile()
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;- Returns:
- This builder for chaining.
-
setSecretFileBytes
public Generated.CephFSPersistentVolumeSource.Builder setSecretFileBytes(com.google.protobuf.ByteString value)
secretFile is Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;- Parameters:
value- The bytes for secretFile to set.- Returns:
- This builder for chaining.
-
hasSecretRef
public boolean hasSecretRef()
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;- Specified by:
hasSecretRefin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- Whether the secretRef field is set.
-
getSecretRef
public Generated.SecretReference getSecretRef()
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;- Specified by:
getSecretRefin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The secretRef.
-
setSecretRef
public Generated.CephFSPersistentVolumeSource.Builder setSecretRef(Generated.SecretReference value)
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;
-
setSecretRef
public Generated.CephFSPersistentVolumeSource.Builder setSecretRef(Generated.SecretReference.Builder builderForValue)
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;
-
mergeSecretRef
public Generated.CephFSPersistentVolumeSource.Builder mergeSecretRef(Generated.SecretReference value)
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;
-
clearSecretRef
public Generated.CephFSPersistentVolumeSource.Builder clearSecretRef()
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;
-
getSecretRefBuilder
public Generated.SecretReference.Builder getSecretRefBuilder()
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;
-
getSecretRefOrBuilder
public Generated.SecretReferenceOrBuilder getSecretRefOrBuilder()
secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;- Specified by:
getSecretRefOrBuilderin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder
-
hasReadOnly
public boolean hasReadOnly()
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional bool readOnly = 6;- Specified by:
hasReadOnlyin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional bool readOnly = 6;- Specified by:
getReadOnlyin interfaceGenerated.CephFSPersistentVolumeSourceOrBuilder- Returns:
- The readOnly.
-
setReadOnly
public Generated.CephFSPersistentVolumeSource.Builder setReadOnly(boolean value)
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional bool readOnly = 6;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.CephFSPersistentVolumeSource.Builder clearReadOnly()
readOnly is Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optional
optional bool readOnly = 6;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.CephFSPersistentVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CephFSPersistentVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.CephFSPersistentVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.CephFSPersistentVolumeSource.Builder>
-
-