public static final class V1.CephFSPersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements V1.CephFSPersistentVolumeSourceOrBuilder
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.CephFSPersistentVolumeSource| Modifier and Type | Class and Description |
|---|---|
static class |
V1.CephFSPersistentVolumeSource.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.CephFSPersistentVolumeSource> |
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.CephFSPersistentVolumeSource |
getDefaultInstance() |
V1.CephFSPersistentVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMonitors(int index)
Required: Monitors is a collection of Ceph monitors
More info: https://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
int |
getMonitorsCount()
Required: Monitors is a collection of Ceph monitors
More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
com.google.protobuf.ProtocolStringList |
getMonitorsList()
Required: Monitors is a collection of Ceph monitors
More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
|
com.google.protobuf.Parser<V1.CephFSPersistentVolumeSource> |
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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+optional
|
V1.SecretReference |
getSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
V1.SecretReferenceOrBuilder |
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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/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://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
+optional
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.CephFSPersistentVolumeSource.Builder |
newBuilder() |
static V1.CephFSPersistentVolumeSource.Builder |
newBuilder(V1.CephFSPersistentVolumeSource prototype) |
V1.CephFSPersistentVolumeSource.Builder |
newBuilderForType() |
protected V1.CephFSPersistentVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.CephFSPersistentVolumeSource |
parseDelimitedFrom(InputStream input) |
static V1.CephFSPersistentVolumeSource |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSPersistentVolumeSource |
parseFrom(byte[] data) |
static V1.CephFSPersistentVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSPersistentVolumeSource |
parseFrom(ByteBuffer data) |
static V1.CephFSPersistentVolumeSource |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSPersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static V1.CephFSPersistentVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSPersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.CephFSPersistentVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.CephFSPersistentVolumeSource |
parseFrom(InputStream input) |
static V1.CephFSPersistentVolumeSource |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.CephFSPersistentVolumeSource> |
parser() |
V1.CephFSPersistentVolumeSource.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, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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.CephFSPersistentVolumeSource> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ProtocolStringList getMonitorsList()
Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;getMonitorsList in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic int getMonitorsCount()
Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;getMonitorsCount in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic String getMonitors(int index)
Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;getMonitors in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getMonitorsBytes(int index)
Required: Monitors is a collection of Ceph monitors More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;getMonitorsBytes in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic 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.CephFSPersistentVolumeSourceOrBuilderpublic 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.CephFSPersistentVolumeSourceOrBuilderpublic 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.CephFSPersistentVolumeSourceOrBuilderpublic boolean hasUser()
Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;hasUser in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic String getUser()
Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;getUser in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getUserBytes()
Optional: User is the rados user name, default is admin More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional string user = 3;getUserBytes in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic boolean hasSecretFile()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;hasSecretFile in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic String getSecretFile()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;getSecretFile in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getSecretFileBytes()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional string secretFile = 4;getSecretFileBytes in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic boolean hasSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;hasSecretRef in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic V1.SecretReference getSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;getSecretRef in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic V1.SecretReferenceOrBuilder getSecretRefOrBuilder()
Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 5;getSecretRefOrBuilder in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic boolean hasReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional bool readOnly = 6;hasReadOnly in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic boolean getReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: https://releases.k8s.io/HEAD/examples/volumes/cephfs/README.md#how-to-use-it +optional
optional bool readOnly = 6;getReadOnly in interface V1.CephFSPersistentVolumeSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.CephFSPersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.CephFSPersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.CephFSPersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.CephFSPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.CephFSPersistentVolumeSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.CephFSPersistentVolumeSource.Builder newBuilder()
public static V1.CephFSPersistentVolumeSource.Builder newBuilder(V1.CephFSPersistentVolumeSource prototype)
public V1.CephFSPersistentVolumeSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.CephFSPersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.CephFSPersistentVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<V1.CephFSPersistentVolumeSource> parser()
public com.google.protobuf.Parser<V1.CephFSPersistentVolumeSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.CephFSPersistentVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.