public final class CephFSVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements 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
appscode.kubernetes.v1beta2.CephFSVolumeSource| Modifier and Type | Class and Description |
|---|---|
static class |
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| Modifier and Type | Field and Description |
|---|---|
static int |
MONITORS_FIELD_NUMBER |
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(java.lang.Object obj) |
static CephFSVolumeSource |
getDefaultInstance() |
CephFSVolumeSource |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getMonitors(int index)
Required: Monitors is a collection of Ceph monitors
More info: http://releases.k8s.io/release-1.4/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: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
|
int |
getMonitorsCount()
Required: Monitors is a collection of Ceph monitors
More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
|
com.google.protobuf.ProtocolStringList |
getMonitorsList()
Required: Monitors is a collection of Ceph monitors
More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
|
com.google.protobuf.Parser<CephFSVolumeSource> |
getParserForType() |
java.lang.String |
getPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
com.google.protobuf.ByteString |
getPathBytes()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
|
boolean |
getReadOnly()
Optional: Defaults to false (read/write).
|
java.lang.String |
getSecretFile()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
|
com.google.protobuf.ByteString |
getSecretFileBytes()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret
More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
|
ObjectReference |
getSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
ObjectReferenceOrBuilder |
getSecretRefOrBuilder()
Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getUser()
Optional: User is the rados user name, default is admin
More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
|
com.google.protobuf.ByteString |
getUserBytes()
Optional: User is the rados user name, default is admin
More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
|
int |
hashCode() |
boolean |
hasSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static CephFSVolumeSource.Builder |
newBuilder() |
static CephFSVolumeSource.Builder |
newBuilder(CephFSVolumeSource prototype) |
CephFSVolumeSource.Builder |
newBuilderForType() |
protected CephFSVolumeSource.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static CephFSVolumeSource |
parseDelimitedFrom(java.io.InputStream input) |
static CephFSVolumeSource |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CephFSVolumeSource |
parseFrom(byte[] data) |
static CephFSVolumeSource |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CephFSVolumeSource |
parseFrom(java.nio.ByteBuffer data) |
static CephFSVolumeSource |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CephFSVolumeSource |
parseFrom(com.google.protobuf.ByteString data) |
static CephFSVolumeSource |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CephFSVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input) |
static CephFSVolumeSource |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static CephFSVolumeSource |
parseFrom(java.io.InputStream input) |
static CephFSVolumeSource |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<CephFSVolumeSource> |
parser() |
CephFSVolumeSource.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, 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
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: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;getMonitorsList in interface CephFSVolumeSourceOrBuilderpublic int getMonitorsCount()
Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;getMonitorsCount in interface CephFSVolumeSourceOrBuilderpublic java.lang.String getMonitors(int index)
Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;getMonitors in interface CephFSVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getMonitorsBytes(int index)
Required: Monitors is a collection of Ceph monitors More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
repeated string monitors = 1;getMonitorsBytes in interface CephFSVolumeSourceOrBuilderpublic java.lang.String getPath()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
string path = 2;getPath in interface CephFSVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getPathBytes()
Optional: Used as the mounted root, rather than the full Ceph tree, default is /
string path = 2;getPathBytes in interface CephFSVolumeSourceOrBuilderpublic java.lang.String getUser()
Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
string user = 3;getUser in interface CephFSVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getUserBytes()
Optional: User is the rados user name, default is admin More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
string user = 3;getUserBytes in interface CephFSVolumeSourceOrBuilderpublic java.lang.String getSecretFile()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
string secretFile = 4;getSecretFile in interface CephFSVolumeSourceOrBuilderpublic com.google.protobuf.ByteString getSecretFileBytes()
Optional: SecretFile is the path to key ring for User, default is /etc/ceph/user.secret More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
string secretFile = 4;getSecretFileBytes in interface CephFSVolumeSourceOrBuilderpublic boolean hasSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
.appscode.kubernetes.v1beta2.ObjectReference secretRef = 5;hasSecretRef in interface CephFSVolumeSourceOrBuilderpublic ObjectReference getSecretRef()
Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
.appscode.kubernetes.v1beta2.ObjectReference secretRef = 5;getSecretRef in interface CephFSVolumeSourceOrBuilderpublic ObjectReferenceOrBuilder getSecretRefOrBuilder()
Optional: SecretRef is reference to the authentication secret for User, default is empty. More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
.appscode.kubernetes.v1beta2.ObjectReference secretRef = 5;getSecretRefOrBuilder in interface CephFSVolumeSourceOrBuilderpublic boolean getReadOnly()
Optional: Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. More info: http://releases.k8s.io/release-1.4/examples/volumes/cephfs/README.md#how-to-use-it
bool readOnly = 6;getReadOnly in interface CephFSVolumeSourceOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.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 CephFSVolumeSource parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CephFSVolumeSource parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CephFSVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CephFSVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CephFSVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CephFSVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static CephFSVolumeSource parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CephFSVolumeSource parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CephFSVolumeSource parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CephFSVolumeSource parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static CephFSVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static CephFSVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic CephFSVolumeSource.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static CephFSVolumeSource.Builder newBuilder()
public static CephFSVolumeSource.Builder newBuilder(CephFSVolumeSource prototype)
public CephFSVolumeSource.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected CephFSVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static CephFSVolumeSource getDefaultInstance()
public static com.google.protobuf.Parser<CephFSVolumeSource> parser()
public com.google.protobuf.Parser<CephFSVolumeSource> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public CephFSVolumeSource getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder