Package k8s.io.api.core.v1
Class Generated.AWSElasticBlockStoreVolumeSource
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.core.v1.Generated.AWSElasticBlockStoreVolumeSource
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
- Enclosing class:
- Generated
public static final class Generated.AWSElasticBlockStoreVolumeSource extends com.google.protobuf.GeneratedMessageV3 implements Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
Represents a Persistent Disk resource in AWS. An AWS EBS disk must exist before mounting to a container. The disk must also be in the same AWS zone as the kubelet. An AWS EBS disk can only be mounted as read/write once. AWS EBS volumes support ownership management and SELinux relabeling.
Protobuf typek8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.AWSElasticBlockStoreVolumeSource.BuilderRepresents a Persistent Disk resource in AWS.-
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.AWSElasticBlockStoreVolumeSource>PARSERDeprecated.static intPARTITION_FIELD_NUMBERstatic intREADONLY_FIELD_NUMBERstatic intVOLUMEID_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.AWSElasticBlockStoreVolumeSourcegetDefaultInstance()Generated.AWSElasticBlockStoreVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFsType()fsType is the filesystem type of the volume that you want to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type of the volume that you want to mount.com.google.protobuf.Parser<Generated.AWSElasticBlockStoreVolumeSource>getParserForType()intgetPartition()partition is the partition in the volume that you want to mount.booleangetReadOnly()readOnly value true will force the readOnly setting in VolumeMounts.intgetSerializedSize()StringgetVolumeID()volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).com.google.protobuf.ByteStringgetVolumeIDBytes()volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).booleanhasFsType()fsType is the filesystem type of the volume that you want to mount.inthashCode()booleanhasPartition()partition is the partition in the volume that you want to mount.booleanhasReadOnly()readOnly value true will force the readOnly setting in VolumeMounts.booleanhasVolumeID()volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.AWSElasticBlockStoreVolumeSource.BuildernewBuilder()static Generated.AWSElasticBlockStoreVolumeSource.BuildernewBuilder(Generated.AWSElasticBlockStoreVolumeSource prototype)Generated.AWSElasticBlockStoreVolumeSource.BuildernewBuilderForType()protected Generated.AWSElasticBlockStoreVolumeSource.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.AWSElasticBlockStoreVolumeSourceparseDelimitedFrom(InputStream input)static Generated.AWSElasticBlockStoreVolumeSourceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(byte[] data)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(com.google.protobuf.ByteString data)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(InputStream input)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(ByteBuffer data)static Generated.AWSElasticBlockStoreVolumeSourceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.AWSElasticBlockStoreVolumeSource>parser()Generated.AWSElasticBlockStoreVolumeSource.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
-
VOLUMEID_FIELD_NUMBER
public static final int VOLUMEID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FSTYPE_FIELD_NUMBER
public static final int FSTYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARTITION_FIELD_NUMBER
public static final int PARTITION_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.AWSElasticBlockStoreVolumeSource> 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
-
hasVolumeID
public boolean hasVolumeID()
volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;- Specified by:
hasVolumeIDin interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- Whether the volumeID field is set.
-
getVolumeID
public String getVolumeID()
volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;- Specified by:
getVolumeIDin interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- The volumeID.
-
getVolumeIDBytes
public com.google.protobuf.ByteString getVolumeIDBytes()
volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume). More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore
optional string volumeID = 1;- Specified by:
getVolumeIDBytesin interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- The bytes for volumeID.
-
hasFsType
public boolean hasFsType()
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;- Specified by:
hasFsTypein interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;- Specified by:
getFsTypein interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()
fsType is the filesystem type of the volume that you want to mount. Tip: Ensure that the filesystem type is supported by the host operating system. Examples: "ext4", "xfs", "ntfs". Implicitly inferred to be "ext4" if unspecified. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore TODO: how do we prevent errors in the filesystem from compromising the machine +optional
optional string fsType = 2;- Specified by:
getFsTypeBytesin interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
hasPartition
public boolean hasPartition()
partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). +optional
optional int32 partition = 3;- Specified by:
hasPartitionin interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- Whether the partition field is set.
-
getPartition
public int getPartition()
partition is the partition in the volume that you want to mount. If omitted, the default is to mount by volume name. Examples: For volume /dev/sda1, you specify the partition as "1". Similarly, the volume partition for /dev/sda is "0" (or you can leave the property empty). +optional
optional int32 partition = 3;- Specified by:
getPartitionin interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- The partition.
-
hasReadOnly
public boolean hasReadOnly()
readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;- Specified by:
hasReadOnlyin interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly value true will force the readOnly setting in VolumeMounts. More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;- Specified by:
getReadOnlyin interfaceGenerated.AWSElasticBlockStoreVolumeSourceOrBuilder- 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.AWSElasticBlockStoreVolumeSource parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.AWSElasticBlockStoreVolumeSource 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.AWSElasticBlockStoreVolumeSource parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.AWSElasticBlockStoreVolumeSource parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.AWSElasticBlockStoreVolumeSource.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.AWSElasticBlockStoreVolumeSource.Builder newBuilder()
-
newBuilder
public static Generated.AWSElasticBlockStoreVolumeSource.Builder newBuilder(Generated.AWSElasticBlockStoreVolumeSource prototype)
-
toBuilder
public Generated.AWSElasticBlockStoreVolumeSource.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.AWSElasticBlockStoreVolumeSource.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.AWSElasticBlockStoreVolumeSource getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.AWSElasticBlockStoreVolumeSource> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.AWSElasticBlockStoreVolumeSource> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.AWSElasticBlockStoreVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-