Package k8s.io.api.core.v1
Class Generated.StorageOSVolumeSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.StorageOSVolumeSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.StorageOSVolumeSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.StorageOSVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements Generated.StorageOSVolumeSourceOrBuilder
Represents a StorageOS persistent volume resource.
Protobuf typek8s.io.api.core.v1.StorageOSVolumeSource- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.StorageOSVolumeSource.BuilderRepresents a StorageOS persistent volume resource.-
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 intFSTYPE_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.StorageOSVolumeSource>PARSERDeprecated.static intREADONLY_FIELD_NUMBERstatic intSECRETREF_FIELD_NUMBERstatic intVOLUMENAME_FIELD_NUMBERstatic intVOLUMENAMESPACE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.StorageOSVolumeSourcegetDefaultInstance()Generated.StorageOSVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFsType()fsType is the filesystem type to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type to mount.com.google.protobuf.Parser<Generated.StorageOSVolumeSource>getParserForType()booleangetReadOnly()readOnly defaults to false (read/write).Generated.LocalObjectReferencegetSecretRef()secretRef specifies the secret to use for obtaining the StorageOS API credentials.Generated.LocalObjectReferenceOrBuildergetSecretRefOrBuilder()secretRef specifies the secret to use for obtaining the StorageOS API credentials.intgetSerializedSize()StringgetVolumeName()volumeName is the human-readable name of the StorageOS volume.com.google.protobuf.ByteStringgetVolumeNameBytes()volumeName is the human-readable name of the StorageOS volume.StringgetVolumeNamespace()volumeNamespace specifies the scope of the volume within StorageOS.com.google.protobuf.ByteStringgetVolumeNamespaceBytes()volumeNamespace specifies the scope of the volume within StorageOS.booleanhasFsType()fsType is the filesystem type to mount.inthashCode()booleanhasReadOnly()readOnly defaults to false (read/write).booleanhasSecretRef()secretRef specifies the secret to use for obtaining the StorageOS API credentials.booleanhasVolumeName()volumeName is the human-readable name of the StorageOS volume.booleanhasVolumeNamespace()volumeNamespace specifies the scope of the volume within StorageOS.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.StorageOSVolumeSource.BuildernewBuilder()static Generated.StorageOSVolumeSource.BuildernewBuilder(Generated.StorageOSVolumeSource prototype)Generated.StorageOSVolumeSource.BuildernewBuilderForType()protected Generated.StorageOSVolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.StorageOSVolumeSourceparseDelimitedFrom(InputStream input)static Generated.StorageOSVolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StorageOSVolumeSourceparseFrom(byte[] data)static Generated.StorageOSVolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StorageOSVolumeSourceparseFrom(com.google.protobuf.ByteString data)static Generated.StorageOSVolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StorageOSVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.StorageOSVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StorageOSVolumeSourceparseFrom(InputStream input)static Generated.StorageOSVolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.StorageOSVolumeSourceparseFrom(ByteBuffer data)static Generated.StorageOSVolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.StorageOSVolumeSource>parser()Generated.StorageOSVolumeSource.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
-
VOLUMENAME_FIELD_NUMBER
public static final int VOLUMENAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMENAMESPACE_FIELD_NUMBER
public static final int VOLUMENAMESPACE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FSTYPE_FIELD_NUMBER
public static final int FSTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
READONLY_FIELD_NUMBER
public static final int READONLY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SECRETREF_FIELD_NUMBER
public static final int SECRETREF_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.StorageOSVolumeSource> 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
-
hasVolumeName
public boolean hasVolumeName()
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;- Specified by:
hasVolumeNamein interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- Whether the volumeName field is set.
-
getVolumeName
public String getVolumeName()
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;- Specified by:
getVolumeNamein interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- The volumeName.
-
getVolumeNameBytes
public com.google.protobuf.ByteString getVolumeNameBytes()
volumeName is the human-readable name of the StorageOS volume. Volume names are only unique within a namespace.
optional string volumeName = 1;- Specified by:
getVolumeNameBytesin interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- The bytes for volumeName.
-
hasVolumeNamespace
public boolean hasVolumeNamespace()
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;- Specified by:
hasVolumeNamespacein interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- Whether the volumeNamespace field is set.
-
getVolumeNamespace
public String getVolumeNamespace()
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;- Specified by:
getVolumeNamespacein interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- The volumeNamespace.
-
getVolumeNamespaceBytes
public com.google.protobuf.ByteString getVolumeNamespaceBytes()
volumeNamespace specifies the scope of the volume within StorageOS. If no namespace is specified then the Pod's namespace will be used. This allows the Kubernetes name scoping to be mirrored within StorageOS for tighter integration. Set VolumeName to any name to override the default behaviour. Set to "default" if you are not using namespaces within StorageOS. Namespaces that do not pre-exist within StorageOS will be created. +optional
optional string volumeNamespace = 2;- Specified by:
getVolumeNamespaceBytesin interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- The bytes for volumeNamespace.
-
hasFsType
public boolean hasFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;- Specified by:
hasFsTypein interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;- Specified by:
getFsTypein interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. +optional
optional string fsType = 3;- Specified by:
getFsTypeBytesin interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
hasReadOnly
public boolean hasReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Specified by:
hasReadOnlyin interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Specified by:
getReadOnlyin interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- The readOnly.
-
hasSecretRef
public boolean hasSecretRef()
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 5;- Specified by:
hasSecretRefin interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- Whether the secretRef field is set.
-
getSecretRef
public Generated.LocalObjectReference getSecretRef()
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 5;- Specified by:
getSecretRefin interfaceGenerated.StorageOSVolumeSourceOrBuilder- Returns:
- The secretRef.
-
getSecretRefOrBuilder
public Generated.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
secretRef specifies the secret to use for obtaining the StorageOS API credentials. If not specified, default values will be attempted. +optional
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 5;- Specified by:
getSecretRefOrBuilderin interfaceGenerated.StorageOSVolumeSourceOrBuilder
-
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.StorageOSVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.StorageOSVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.StorageOSVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.StorageOSVolumeSource 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.StorageOSVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.StorageOSVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.StorageOSVolumeSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.StorageOSVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.StorageOSVolumeSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.StorageOSVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.StorageOSVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.StorageOSVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.StorageOSVolumeSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.StorageOSVolumeSource.Builder newBuilder()
-
newBuilder
public static Generated.StorageOSVolumeSource.Builder newBuilder(Generated.StorageOSVolumeSource prototype)
-
toBuilder
public Generated.StorageOSVolumeSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.StorageOSVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.StorageOSVolumeSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.StorageOSVolumeSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.StorageOSVolumeSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.StorageOSVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-