Class AwsVolumeTemplate (0.2.0)

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
TypeDescription
int

KMS_KEY_ARN_FIELD_NUMBER

public static final int KMS_KEY_ARN_FIELD_NUMBER
Field Value
TypeDescription
int

SIZE_GIB_FIELD_NUMBER

public static final int SIZE_GIB_FIELD_NUMBER
Field Value
TypeDescription
int

VOLUME_TYPE_FIELD_NUMBER

public static final int VOLUME_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AwsVolumeTemplate getDefaultInstance()
Returns
TypeDescription
AwsVolumeTemplate

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AwsVolumeTemplate.Builder newBuilder()
Returns
TypeDescription
AwsVolumeTemplate.Builder

newBuilder(AwsVolumeTemplate prototype)

public static AwsVolumeTemplate.Builder newBuilder(AwsVolumeTemplate prototype)
Parameter
NameDescription
prototypeAwsVolumeTemplate
Returns
TypeDescription
AwsVolumeTemplate.Builder

parseDelimitedFrom(InputStream input)

public static AwsVolumeTemplate parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVolumeTemplate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AwsVolumeTemplate parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AwsVolumeTemplate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AwsVolumeTemplate parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AwsVolumeTemplate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AwsVolumeTemplate parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVolumeTemplate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AwsVolumeTemplate parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AwsVolumeTemplate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AwsVolumeTemplate parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AwsVolumeTemplate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsVolumeTemplate
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AwsVolumeTemplate> parser()
Returns
TypeDescription
Parser<AwsVolumeTemplate>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AwsVolumeTemplate getDefaultInstanceForType()
Returns
TypeDescription
AwsVolumeTemplate

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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for kmsKeyArn.

getParserForType()

public Parser<AwsVolumeTemplate> getParserForType()
Returns
TypeDescription
Parser<AwsVolumeTemplate>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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
TypeDescription
int

The sizeGib.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for volumeType.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AwsVolumeTemplate.Builder newBuilderForType()
Returns
TypeDescription
AwsVolumeTemplate.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AwsVolumeTemplate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AwsVolumeTemplate.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AwsVolumeTemplate.Builder toBuilder()
Returns
TypeDescription
AwsVolumeTemplate.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException