- 0.52.0 (latest)
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.6
- 0.1.0
public static final class AwsVolumeTemplate.Builder extends GeneratedMessageV3.Builder<AwsVolumeTemplate.Builder> implements AwsVolumeTemplateOrBuilder
Configuration template for AWS EBS volumes.
Protobuf type google.cloud.gkemulticloud.v1.AwsVolumeTemplate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AwsVolumeTemplate.BuilderImplements
AwsVolumeTemplateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AwsVolumeTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
build()
public AwsVolumeTemplate build()
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate |
buildPartial()
public AwsVolumeTemplate buildPartial()
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate |
clear()
public AwsVolumeTemplate.Builder clear()
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
clearField(Descriptors.FieldDescriptor field)
public AwsVolumeTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
clearIops()
public AwsVolumeTemplate.Builder clearIops()
Optional. The number of I/O operations per second (IOPS) to provision for GP3 volume.
int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
clearKmsKeyArn()
public AwsVolumeTemplate.Builder clearKmsKeyArn()
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes.
If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.
string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AwsVolumeTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
clearSizeGib()
public AwsVolumeTemplate.Builder clearSizeGib()
Optional. The size of the volume, in GiBs.
When unspecified, a default value is provided. See the specific reference in the parent resource.
int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
clearThroughput()
public AwsVolumeTemplate.Builder clearThroughput()
Optional. The throughput that the volume supports, in MiB/s. Only valid if volume_type is GP3.
If the volume_type is GP3 and this is not speficied, it defaults to 125.
int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
clearVolumeType()
public AwsVolumeTemplate.Builder clearVolumeType()
Optional. Type of the EBS volume.
When unspecified, it defaults to GP2 volume.
.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
clone()
public AwsVolumeTemplate.Builder clone()
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
getDefaultInstanceForType()
public AwsVolumeTemplate getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getIops()
public int getIops()
Optional. The number of I/O operations per second (IOPS) to provision for GP3 volume.
int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The iops. |
getKmsKeyArn()
public String getKmsKeyArn()
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes.
If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.
string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String | The kmsKeyArn. |
getKmsKeyArnBytes()
public ByteString getKmsKeyArnBytes()
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes.
If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.
string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString | The bytes for kmsKeyArn. |
getSizeGib()
public int getSizeGib()
Optional. The size of the volume, in GiBs.
When unspecified, a default value is provided. See the specific reference in the parent resource.
int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The sizeGib. |
getThroughput()
public int getThroughput()
Optional. The throughput that the volume supports, in MiB/s. Only valid if volume_type is GP3.
If the volume_type is GP3 and this is not speficied, it defaults to 125.
int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The throughput. |
getVolumeType()
public AwsVolumeTemplate.VolumeType getVolumeType()
Optional. Type of the EBS volume.
When unspecified, it defaults to GP2 volume.
.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.VolumeType | The volumeType. |
getVolumeTypeValue()
public int getVolumeTypeValue()
Optional. Type of the EBS volume.
When unspecified, it defaults to GP2 volume.
.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int | The enum numeric value on the wire for volumeType. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AwsVolumeTemplate other)
public AwsVolumeTemplate.Builder mergeFrom(AwsVolumeTemplate other)
Parameter | |
---|---|
Name | Description |
other | AwsVolumeTemplate |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AwsVolumeTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AwsVolumeTemplate.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AwsVolumeTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AwsVolumeTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
setIops(int value)
public AwsVolumeTemplate.Builder setIops(int value)
Optional. The number of I/O operations per second (IOPS) to provision for GP3 volume.
int32 iops = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | int The iops to set. |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
setKmsKeyArn(String value)
public AwsVolumeTemplate.Builder setKmsKeyArn(String value)
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes.
If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.
string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | String The kmsKeyArn to set. |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
setKmsKeyArnBytes(ByteString value)
public AwsVolumeTemplate.Builder setKmsKeyArnBytes(ByteString value)
Optional. The Amazon Resource Name (ARN) of the Customer Managed Key (CMK) used to encrypt AWS EBS volumes.
If not specified, the default Amazon managed key associated to the AWS region where this cluster runs will be used.
string kms_key_arn = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for kmsKeyArn to set. |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AwsVolumeTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
setSizeGib(int value)
public AwsVolumeTemplate.Builder setSizeGib(int value)
Optional. The size of the volume, in GiBs.
When unspecified, a default value is provided. See the specific reference in the parent resource.
int32 size_gib = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | int The sizeGib to set. |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
setThroughput(int value)
public AwsVolumeTemplate.Builder setThroughput(int value)
Optional. The throughput that the volume supports, in MiB/s. Only valid if volume_type is GP3.
If the volume_type is GP3 and this is not speficied, it defaults to 125.
int32 throughput = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | int The throughput to set. |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final AwsVolumeTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder |
setVolumeType(AwsVolumeTemplate.VolumeType value)
public AwsVolumeTemplate.Builder setVolumeType(AwsVolumeTemplate.VolumeType value)
Optional. Type of the EBS volume.
When unspecified, it defaults to GP2 volume.
.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | AwsVolumeTemplate.VolumeType The volumeType to set. |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |
setVolumeTypeValue(int value)
public AwsVolumeTemplate.Builder setVolumeTypeValue(int value)
Optional. Type of the EBS volume.
When unspecified, it defaults to GP2 volume.
.google.cloud.gkemulticloud.v1.AwsVolumeTemplate.VolumeType volume_type = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value | int The enum numeric value on the wire for volumeType to set. |
Returns | |
---|---|
Type | Description |
AwsVolumeTemplate.Builder | This builder for chaining. |