public final class AwsVolumeTemplate extends GeneratedMessageV3 implements AwsVolumeTemplateOrBuilder
Configuration template for AWS EBS volumes.
Protobuf type google.cloud.gkemulticloud.v1.AwsVolumeTemplate
Static Fields
IOPS_FIELD_NUMBER
public static final int IOPS_FIELD_NUMBER
Field Value
KMS_KEY_ARN_FIELD_NUMBER
public static final int KMS_KEY_ARN_FIELD_NUMBER
Field Value
SIZE_GIB_FIELD_NUMBER
public static final int SIZE_GIB_FIELD_NUMBER
Field Value
VOLUME_TYPE_FIELD_NUMBER
public static final int VOLUME_TYPE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static AwsVolumeTemplate getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static AwsVolumeTemplate.Builder newBuilder()
Returns
newBuilder(AwsVolumeTemplate prototype)
public static AwsVolumeTemplate.Builder newBuilder(AwsVolumeTemplate prototype)
Parameter
Returns
public static AwsVolumeTemplate parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsVolumeTemplate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static AwsVolumeTemplate parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AwsVolumeTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static AwsVolumeTemplate parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AwsVolumeTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsVolumeTemplate parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static AwsVolumeTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static AwsVolumeTemplate parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static AwsVolumeTemplate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static AwsVolumeTemplate parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AwsVolumeTemplate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<AwsVolumeTemplate> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public AwsVolumeTemplate getDefaultInstanceForType()
Returns
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
getParserForType()
public Parser<AwsVolumeTemplate> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
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.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public AwsVolumeTemplate.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AwsVolumeTemplate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public AwsVolumeTemplate.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions