Package k8s.io.api.core.v1
Class Generated.CephFSPersistentVolumeSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.CephFSPersistentVolumeSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.CephFSPersistentVolumeSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.CephFSPersistentVolumeSource extends com.google.protobuf.GeneratedMessageV3 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- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.CephFSPersistentVolumeSource.BuilderRepresents a Ceph Filesystem mount that lasts the lifetime of a pod Cephfs volumes do not support ownership management or SELinux relabeling.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intMONITORS_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.CephFSPersistentVolumeSource>PARSERDeprecated.static intPATH_FIELD_NUMBERstatic intREADONLY_FIELD_NUMBERstatic intSECRETFILE_FIELD_NUMBERstatic intSECRETREF_FIELD_NUMBERstatic intUSER_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.CephFSPersistentVolumeSourcegetDefaultInstance()Generated.CephFSPersistentVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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=atomiccom.google.protobuf.Parser<Generated.CephFSPersistentVolumeSource>getParserForType()StringgetPath()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.SecretReferenceOrBuildergetSecretRefOrBuilder()secretRef is Optional: SecretRef is reference to the authentication secret for User, default is empty.intgetSerializedSize()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 +optionalinthashCode()booleanhasPath()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()static Generated.CephFSPersistentVolumeSource.BuildernewBuilder()static Generated.CephFSPersistentVolumeSource.BuildernewBuilder(Generated.CephFSPersistentVolumeSource prototype)Generated.CephFSPersistentVolumeSource.BuildernewBuilderForType()protected Generated.CephFSPersistentVolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.CephFSPersistentVolumeSourceparseDelimitedFrom(InputStream input)static Generated.CephFSPersistentVolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CephFSPersistentVolumeSourceparseFrom(byte[] data)static Generated.CephFSPersistentVolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CephFSPersistentVolumeSourceparseFrom(com.google.protobuf.ByteString data)static Generated.CephFSPersistentVolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CephFSPersistentVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.CephFSPersistentVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CephFSPersistentVolumeSourceparseFrom(InputStream input)static Generated.CephFSPersistentVolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.CephFSPersistentVolumeSourceparseFrom(ByteBuffer data)static Generated.CephFSPersistentVolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.CephFSPersistentVolumeSource>parser()Generated.CephFSPersistentVolumeSource.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
MONITORS_FIELD_NUMBER
public static final int MONITORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
USER_FIELD_NUMBER
public static final int USER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRETFILE_FIELD_NUMBER
public static final int SECRETFILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRETREF_FIELD_NUMBER
public static final int SECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READONLY_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.CephFSPersistentVolumeSource> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.CephFSPersistentVolumeSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.CephFSPersistentVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.CephFSPersistentVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.CephFSPersistentVolumeSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.CephFSPersistentVolumeSource.Builder newBuilder()
-
newBuilder
public static Generated.CephFSPersistentVolumeSource.Builder newBuilder(Generated.CephFSPersistentVolumeSource prototype)
-
toBuilder
public Generated.CephFSPersistentVolumeSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.CephFSPersistentVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.CephFSPersistentVolumeSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.CephFSPersistentVolumeSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.CephFSPersistentVolumeSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.CephFSPersistentVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-