Package io.kubernetes.client.proto
Class V1.AWSElasticBlockStoreVolumeSource.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
io.kubernetes.client.proto.V1.AWSElasticBlockStoreVolumeSource.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,V1.AWSElasticBlockStoreVolumeSourceOrBuilder
,Cloneable
- Enclosing class:
- V1.AWSElasticBlockStoreVolumeSource
public static final class V1.AWSElasticBlockStoreVolumeSource.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
implements V1.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 type
k8s.io.api.core.v1.AWSElasticBlockStoreVolumeSource
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Filesystem type of the volume that you want to mount.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) The partition in the volume that you want to mount.Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".Unique ID of the persistent disk resource in AWS (Amazon EBS volume).clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Filesystem type of the volume that you want to mount.com.google.protobuf.ByteString
Filesystem type of the volume that you want to mount.int
The partition in the volume that you want to mount.boolean
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".Unique ID of the persistent disk resource in AWS (Amazon EBS volume).com.google.protobuf.ByteString
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).boolean
Filesystem type of the volume that you want to mount.boolean
The partition in the volume that you want to mount.boolean
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".boolean
Unique ID of the persistent disk resource in AWS (Amazon EBS volume).protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Filesystem type of the volume that you want to mount.setFsTypeBytes
(com.google.protobuf.ByteString value) Filesystem type of the volume that you want to mount.setPartition
(int value) The partition in the volume that you want to mount.setReadOnly
(boolean value) Specify "true" to force and set the ReadOnly property in VolumeMounts to "true".setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVolumeID
(String value) Unique ID of the persistent disk resource in AWS (Amazon EBS volume).setVolumeIDBytes
(com.google.protobuf.ByteString value) 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, internalGetMutableMapField, 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
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
setField
public V1.AWSElasticBlockStoreVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
clearField
public V1.AWSElasticBlockStoreVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
clearOneof
public V1.AWSElasticBlockStoreVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
setRepeatedField
public V1.AWSElasticBlockStoreVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
addRepeatedField
public V1.AWSElasticBlockStoreVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
mergeFrom
public V1.AWSElasticBlockStoreVolumeSource.Builder mergeFrom(V1.AWSElasticBlockStoreVolumeSource other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
mergeFrom
public V1.AWSElasticBlockStoreVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
- Throws:
IOException
-
hasVolumeID
public boolean hasVolumeID()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:
hasVolumeID
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
getVolumeID
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:
getVolumeID
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
getVolumeIDBytes
public com.google.protobuf.ByteString getVolumeIDBytes()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:
getVolumeIDBytes
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
setVolumeID
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;
-
clearVolumeID
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;
-
setVolumeIDBytes
public V1.AWSElasticBlockStoreVolumeSource.Builder setVolumeIDBytes(com.google.protobuf.ByteString value) 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;
-
hasFsType
public boolean hasFsType()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:
hasFsType
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
getFsType
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:
getFsType
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
getFsTypeBytes
public com.google.protobuf.ByteString getFsTypeBytes()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:
getFsTypeBytes
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
setFsType
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;
-
clearFsType
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;
-
setFsTypeBytes
public V1.AWSElasticBlockStoreVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value) 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;
-
hasPartition
public boolean hasPartition()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:
hasPartition
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
getPartition
public int getPartition()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:
getPartition
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
setPartition
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;
-
clearPartition
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;
-
hasReadOnly
public boolean hasReadOnly()Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;
- Specified by:
hasReadOnly
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
getReadOnly
public boolean getReadOnly()Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;
- Specified by:
getReadOnly
in interfaceV1.AWSElasticBlockStoreVolumeSourceOrBuilder
-
setReadOnly
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;
-
clearReadOnly
Specify "true" to force and set the ReadOnly property in VolumeMounts to "true". If omitted, the default is "false". More info: https://kubernetes.io/docs/concepts/storage/volumes#awselasticblockstore +optional
optional bool readOnly = 4;
-
setUnknownFields
public final V1.AWSElasticBlockStoreVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-
mergeUnknownFields
public final V1.AWSElasticBlockStoreVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1.AWSElasticBlockStoreVolumeSource.Builder>
-