Package io.kubernetes.client.proto
Class V1.CephFSVolumeSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.CephFSVolumeSource.Builder>
io.kubernetes.client.proto.V1.CephFSVolumeSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.CephFSVolumeSourceOrBuilder
,Cloneable
- Enclosing class:
- V1.CephFSVolumeSource
public static final class V1.CephFSVolumeSource.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.CephFSVolumeSource.Builder>
implements V1.CephFSVolumeSourceOrBuilder
Represents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.Protobuf type
k8s.io.api.core.v1.CephFSVolumeSource
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMonitors
(Iterable<String> values) Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itaddMonitors
(String value) Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itaddMonitorsBytes
(com.google.protobuf.ByteString value) Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalOptional: Defaults to false (read/write).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 +optionalOptional: SecretRef is reference to the authentication secret for User, default is empty.Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalclone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getMonitors
(int index) Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itcom.google.protobuf.ByteString
getMonitorsBytes
(int index) Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itint
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itcom.google.protobuf.ProtocolStringList
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itgetPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalcom.google.protobuf.ByteString
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalboolean
Optional: Defaults to false (read/write).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.ByteString
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 +optionalOptional: SecretRef is reference to the authentication secret for User, default is empty.Optional: SecretRef is reference to the authentication secret for User, default is empty.Optional: SecretRef is reference to the authentication secret for User, default is empty.getUser()
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.ByteString
Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalboolean
hasPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalboolean
Optional: Defaults to false (read/write).boolean
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 +optionalboolean
Optional: SecretRef is reference to the authentication secret for User, default is empty.boolean
hasUser()
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.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(V1.CephFSVolumeSource other) Optional: SecretRef is reference to the authentication secret for User, default is empty.mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setMonitors
(int index, String value) Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-itOptional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalsetPathBytes
(com.google.protobuf.ByteString value) Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optionalsetReadOnly
(boolean value) Optional: Defaults to false (read/write).setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSecretFile
(String value) 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 +optionalsetSecretFileBytes
(com.google.protobuf.ByteString value) 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 +optionalOptional: SecretRef is reference to the authentication secret for User, default is empty.setSecretRef
(V1.LocalObjectReference.Builder builderForValue) Optional: SecretRef is reference to the authentication secret for User, default is empty.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalsetUserBytes
(com.google.protobuf.ByteString value) Optional: User is the rados user name, default is admin More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it +optionalMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.CephFSVolumeSource.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.CephFSVolumeSource.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.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
-
setField
public V1.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
-
clearField
public V1.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
-
clearOneof
public V1.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
-
setRepeatedField
public V1.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
-
addRepeatedField
public V1.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.CephFSVolumeSource.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.CephFSVolumeSource.Builder>
-
mergeFrom
public V1.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
- Throws:
IOException
-
getMonitorsList
public com.google.protobuf.ProtocolStringList getMonitorsList()Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
- Specified by:
getMonitorsList
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getMonitorsCount
public int getMonitorsCount()Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
- Specified by:
getMonitorsCount
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getMonitors
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
- Specified by:
getMonitors
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getMonitorsBytes
public com.google.protobuf.ByteString getMonitorsBytes(int index) Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
- Specified by:
getMonitorsBytes
in interfaceV1.CephFSVolumeSourceOrBuilder
-
setMonitors
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
-
addMonitors
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
-
addAllMonitors
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
-
clearMonitors
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
-
addMonitorsBytes
Required: Monitors is a collection of Ceph monitors More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;
-
hasPath
public boolean hasPath()Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;
- Specified by:
hasPath
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getPath
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;
- Specified by:
getPath
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getPathBytes
public com.google.protobuf.ByteString getPathBytes()Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;
- Specified by:
getPathBytes
in interfaceV1.CephFSVolumeSourceOrBuilder
-
setPath
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;
-
clearPath
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;
-
setPathBytes
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;
-
hasUser
public boolean hasUser()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:
hasUser
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getUser
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:
getUser
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getUserBytes
public com.google.protobuf.ByteString getUserBytes()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:
getUserBytes
in interfaceV1.CephFSVolumeSourceOrBuilder
-
setUser
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;
-
clearUser
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;
-
setUserBytes
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;
-
hasSecretFile
public boolean hasSecretFile()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:
hasSecretFile
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getSecretFile
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:
getSecretFile
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getSecretFileBytes
public com.google.protobuf.ByteString getSecretFileBytes()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:
getSecretFileBytes
in interfaceV1.CephFSVolumeSourceOrBuilder
-
setSecretFile
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;
-
clearSecretFile
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;
-
setSecretFileBytes
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;
-
hasSecretRef
public boolean hasSecretRef()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.LocalObjectReference secretRef = 5;
- Specified by:
hasSecretRef
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getSecretRef
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.LocalObjectReference secretRef = 5;
- Specified by:
getSecretRef
in interfaceV1.CephFSVolumeSourceOrBuilder
-
setSecretRef
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.LocalObjectReference secretRef = 5;
-
setSecretRef
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.LocalObjectReference secretRef = 5;
-
mergeSecretRef
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.LocalObjectReference secretRef = 5;
-
clearSecretRef
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.LocalObjectReference secretRef = 5;
-
getSecretRefBuilder
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.LocalObjectReference secretRef = 5;
-
getSecretRefOrBuilder
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.LocalObjectReference secretRef = 5;
- Specified by:
getSecretRefOrBuilder
in interfaceV1.CephFSVolumeSourceOrBuilder
-
hasReadOnly
public boolean hasReadOnly()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:
hasReadOnly
in interfaceV1.CephFSVolumeSourceOrBuilder
-
getReadOnly
public boolean getReadOnly()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:
getReadOnly
in interfaceV1.CephFSVolumeSourceOrBuilder
-
setReadOnly
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;
-
clearReadOnly
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;
-
setUnknownFields
public final V1.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
-
mergeUnknownFields
public final V1.CephFSVolumeSource.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.CephFSVolumeSource.Builder>
-