Class AwsConfigEncryption.Builder (0.2.6)

public static final class AwsConfigEncryption.Builder extends GeneratedMessageV3.Builder<AwsConfigEncryption.Builder> implements AwsConfigEncryptionOrBuilder

Config encryption for user data.

Protobuf type google.cloud.gkemulticloud.v1.AwsConfigEncryption

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsConfigEncryption.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

build()

public AwsConfigEncryption build()
Returns
TypeDescription
AwsConfigEncryption

buildPartial()

public AwsConfigEncryption buildPartial()
Returns
TypeDescription
AwsConfigEncryption

clear()

public AwsConfigEncryption.Builder clear()
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public AwsConfigEncryption.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

clearKmsKeyArn()

public AwsConfigEncryption.Builder clearKmsKeyArn()

Required. The ARN of the AWS KMS key used to encrypt user data.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AwsConfigEncryption.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsConfigEncryption.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

clone()

public AwsConfigEncryption.Builder clone()
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

getDefaultInstanceForType()

public AwsConfigEncryption getDefaultInstanceForType()
Returns
TypeDescription
AwsConfigEncryption

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKmsKeyArn()

public String getKmsKeyArn()

Required. The ARN of the AWS KMS key used to encrypt user data.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The kmsKeyArn.

getKmsKeyArnBytes()

public ByteString getKmsKeyArnBytes()

Required. The ARN of the AWS KMS key used to encrypt user data.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for kmsKeyArn.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AwsConfigEncryption other)

public AwsConfigEncryption.Builder mergeFrom(AwsConfigEncryption other)
Parameter
NameDescription
otherAwsConfigEncryption
Returns
TypeDescription
AwsConfigEncryption.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsConfigEncryption.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AwsConfigEncryption.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsConfigEncryption.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public AwsConfigEncryption.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

setKmsKeyArn(String value)

public AwsConfigEncryption.Builder setKmsKeyArn(String value)

Required. The ARN of the AWS KMS key used to encrypt user data.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueString

The kmsKeyArn to set.

Returns
TypeDescription
AwsConfigEncryption.Builder

This builder for chaining.

setKmsKeyArnBytes(ByteString value)

public AwsConfigEncryption.Builder setKmsKeyArnBytes(ByteString value)

Required. The ARN of the AWS KMS key used to encrypt user data.

string kms_key_arn = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytes for kmsKeyArn to set.

Returns
TypeDescription
AwsConfigEncryption.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public AwsConfigEncryption.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsConfigEncryption.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AwsConfigEncryption.Builder
Overrides