public static final class V1.CephFSVolumeSource extends com.google.protobuf.GeneratedMessageV3 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
Modifier and Type | Class and Description |
---|---|
static class |
V1.CephFSVolumeSource.Builder
Represents a Ceph Filesystem mount that lasts the lifetime of a pod
Cephfs volumes do not support ownership management or SELinux relabeling.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
Modifier and Type | Field and Description |
---|---|
static int |
MONITORS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.CephFSVolumeSource> |
PARSER
Deprecated.
|
static int |
PATH_FIELD_NUMBER |
static int |
READONLY_FIELD_NUMBER |
static int |
SECRETFILE_FIELD_NUMBER |
static int |
SECRETREF_FIELD_NUMBER |
static int |
USER_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static V1.CephFSVolumeSource |
getDefaultInstance() |
V1.CephFSVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMonitors(int index)
Required: Monitors is a collection of Ceph monitors
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
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
|
int |
getMonitorsCount()
Required: Monitors is a collection of Ceph monitors
More info: https://examples.k8s.io/volumes/cephfs/README.md#how-to-use-it
|
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
|
com.google.protobuf.Parser<V1.CephFSVolumeSource> |
getParserForType() |
String |
getPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
+optional
|
com.google.protobuf.ByteString |
getPathBytes()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
+optional
|
boolean |
getReadOnly()
Optional: Defaults to false (read/write).
|
String |
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
|
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
|
V1.LocalObjectReference |
getSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
V1.LocalObjectReferenceOrBuilder |
getSecretRefOrBuilder()
Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
String |
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
|
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
|
int |
hashCode() |
boolean |
hasPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
+optional
|
boolean |
hasReadOnly()
Optional: Defaults to false (read/write).
|
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
|
boolean |
hasSecretRef()
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
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.CephFSVolumeSource.Builder |
newBuilder() |
static V1.CephFSVolumeSource.Builder |
newBuilder(V1.CephFSVolumeSource prototype) |
V1.CephFSVolumeSource.Builder |
newBuilderForType() |
protected V1.CephFSVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.CephFSVolumeSource |
parseDelimitedFrom(InputStream input) |
static V1.CephFSVolumeSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSVolumeSource |
parseFrom(byte[] data) |
static V1.CephFSVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSVolumeSource |
parseFrom(ByteBuffer data) |
static V1.CephFSVolumeSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static V1.CephFSVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.CephFSVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSVolumeSource |
parseFrom(InputStream input) |
static V1.CephFSVolumeSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.CephFSVolumeSource> |
parser() |
V1.CephFSVolumeSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int MONITORS_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
public static final int SECRETFILE_FIELD_NUMBER
public static final int SECRETREF_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.CephFSVolumeSource> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
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;
getMonitorsList
in interface V1.CephFSVolumeSourceOrBuilder
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;
getMonitorsCount
in interface V1.CephFSVolumeSourceOrBuilder
public String getMonitors(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;
getMonitors
in interface V1.CephFSVolumeSourceOrBuilder
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;
getMonitorsBytes
in interface V1.CephFSVolumeSourceOrBuilder
public boolean hasPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;
hasPath
in interface V1.CephFSVolumeSourceOrBuilder
public String getPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is / +optional
optional string path = 2;
getPath
in interface V1.CephFSVolumeSourceOrBuilder
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;
getPathBytes
in interface V1.CephFSVolumeSourceOrBuilder
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;
hasUser
in interface V1.CephFSVolumeSourceOrBuilder
public String 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;
getUser
in interface V1.CephFSVolumeSourceOrBuilder
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;
getUserBytes
in interface V1.CephFSVolumeSourceOrBuilder
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;
hasSecretFile
in interface V1.CephFSVolumeSourceOrBuilder
public String 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;
getSecretFile
in interface V1.CephFSVolumeSourceOrBuilder
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;
getSecretFileBytes
in interface V1.CephFSVolumeSourceOrBuilder
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;
hasSecretRef
in interface V1.CephFSVolumeSourceOrBuilder
public V1.LocalObjectReference 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;
getSecretRef
in interface V1.CephFSVolumeSourceOrBuilder
public V1.LocalObjectReferenceOrBuilder 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;
getSecretRefOrBuilder
in interface V1.CephFSVolumeSourceOrBuilder
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;
hasReadOnly
in interface V1.CephFSVolumeSourceOrBuilder
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;
getReadOnly
in interface V1.CephFSVolumeSourceOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static V1.CephFSVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CephFSVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CephFSVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CephFSVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CephFSVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CephFSVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static V1.CephFSVolumeSource parseFrom(InputStream input) throws IOException
IOException
public static V1.CephFSVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1.CephFSVolumeSource parseDelimitedFrom(InputStream input) throws IOException
IOException
public static V1.CephFSVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static V1.CephFSVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static V1.CephFSVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public V1.CephFSVolumeSource.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static V1.CephFSVolumeSource.Builder newBuilder()
public static V1.CephFSVolumeSource.Builder newBuilder(V1.CephFSVolumeSource prototype)
public V1.CephFSVolumeSource.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected V1.CephFSVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public static V1.CephFSVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<V1.CephFSVolumeSource> parser()
public com.google.protobuf.Parser<V1.CephFSVolumeSource> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public V1.CephFSVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2022. All rights reserved.