Package k8s.io.api.core.v1
Class Generated.AWSElasticBlockStoreVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.AWSElasticBlockStoreVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.AWSElasticBlockStoreVolumeSourceOrBuilder
- Enclosing class:
- Generated.AWSElasticBlockStoreVolumeSource
public static final class Generated.AWSElasticBlockStoreVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder> 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.AWSElasticBlockStoreVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.AWSElasticBlockStoreVolumeSourcebuild()Generated.AWSElasticBlockStoreVolumeSourcebuildPartial()Generated.AWSElasticBlockStoreVolumeSource.Builderclear()Generated.AWSElasticBlockStoreVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.AWSElasticBlockStoreVolumeSource.BuilderclearFsType()fsType is the filesystem type of the volume that you want to mount.Generated.AWSElasticBlockStoreVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.AWSElasticBlockStoreVolumeSource.BuilderclearPartition()partition is the partition in the volume that you want to mount.Generated.AWSElasticBlockStoreVolumeSource.BuilderclearReadOnly()readOnly value true will force the readOnly setting in VolumeMounts.Generated.AWSElasticBlockStoreVolumeSource.BuilderclearVolumeID()volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).Generated.AWSElasticBlockStoreVolumeSource.Builderclone()Generated.AWSElasticBlockStoreVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.intgetPartition()partition is the partition in the volume that you want to mount.booleangetReadOnly()readOnly value true will force the readOnly setting in VolumeMounts.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.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()Generated.AWSElasticBlockStoreVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.AWSElasticBlockStoreVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.AWSElasticBlockStoreVolumeSource.BuildermergeFrom(Generated.AWSElasticBlockStoreVolumeSource other)Generated.AWSElasticBlockStoreVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.AWSElasticBlockStoreVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.AWSElasticBlockStoreVolumeSource.BuildersetFsType(String value)fsType is the filesystem type of the volume that you want to mount.Generated.AWSElasticBlockStoreVolumeSource.BuildersetFsTypeBytes(com.google.protobuf.ByteString value)fsType is the filesystem type of the volume that you want to mount.Generated.AWSElasticBlockStoreVolumeSource.BuildersetPartition(int value)partition is the partition in the volume that you want to mount.Generated.AWSElasticBlockStoreVolumeSource.BuildersetReadOnly(boolean value)readOnly value true will force the readOnly setting in VolumeMounts.Generated.AWSElasticBlockStoreVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.AWSElasticBlockStoreVolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.AWSElasticBlockStoreVolumeSource.BuildersetVolumeID(String value)volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).Generated.AWSElasticBlockStoreVolumeSource.BuildersetVolumeIDBytes(com.google.protobuf.ByteString value)volumeID is unique ID of the persistent disk resource in AWS (Amazon EBS volume).-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
clear
public Generated.AWSElasticBlockStoreVolumeSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.AWSElasticBlockStoreVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.AWSElasticBlockStoreVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.AWSElasticBlockStoreVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.AWSElasticBlockStoreVolumeSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
setField
public Generated.AWSElasticBlockStoreVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
clearField
public Generated.AWSElasticBlockStoreVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
clearOneof
public Generated.AWSElasticBlockStoreVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
setRepeatedField
public Generated.AWSElasticBlockStoreVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
addRepeatedField
public Generated.AWSElasticBlockStoreVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
mergeFrom
public Generated.AWSElasticBlockStoreVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
mergeFrom
public Generated.AWSElasticBlockStoreVolumeSource.Builder mergeFrom(Generated.AWSElasticBlockStoreVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
mergeFrom
public Generated.AWSElasticBlockStoreVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>- Throws:
IOException
-
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.
-
setVolumeID
public Generated.AWSElasticBlockStoreVolumeSource.Builder setVolumeID(String value)
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;- Parameters:
value- The volumeID to set.- Returns:
- This builder for chaining.
-
clearVolumeID
public Generated.AWSElasticBlockStoreVolumeSource.Builder clearVolumeID()
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;- Returns:
- This builder for chaining.
-
setVolumeIDBytes
public Generated.AWSElasticBlockStoreVolumeSource.Builder setVolumeIDBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for volumeID to set.- Returns:
- This builder for chaining.
-
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.
-
setFsType
public Generated.AWSElasticBlockStoreVolumeSource.Builder setFsType(String value)
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;- Parameters:
value- The fsType to set.- Returns:
- This builder for chaining.
-
clearFsType
public Generated.AWSElasticBlockStoreVolumeSource.Builder clearFsType()
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;- Returns:
- This builder for chaining.
-
setFsTypeBytes
public Generated.AWSElasticBlockStoreVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
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;- Parameters:
value- The bytes for fsType to set.- Returns:
- This builder for chaining.
-
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.
-
setPartition
public Generated.AWSElasticBlockStoreVolumeSource.Builder setPartition(int value)
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;- Parameters:
value- The partition to set.- Returns:
- This builder for chaining.
-
clearPartition
public Generated.AWSElasticBlockStoreVolumeSource.Builder clearPartition()
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;- Returns:
- This builder for chaining.
-
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.
-
setReadOnly
public Generated.AWSElasticBlockStoreVolumeSource.Builder setReadOnly(boolean value)
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;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.AWSElasticBlockStoreVolumeSource.Builder clearReadOnly()
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;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.AWSElasticBlockStoreVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.AWSElasticBlockStoreVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.AWSElasticBlockStoreVolumeSource.Builder>
-
-