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