Class AwsAccount.Builder (3.57.0)

public static final class AwsAccount.Builder extends GeneratedMessageV3.Builder<AwsAccount.Builder> implements AwsAccountOrBuilder

AWS account.

Protobuf type google.privacy.dlp.v2.AwsAccount

Implements

AwsAccountOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AwsAccount.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsAccount.Builder
Overrides

build()

public AwsAccount build()
Returns
Type Description
AwsAccount

buildPartial()

public AwsAccount buildPartial()
Returns
Type Description
AwsAccount

clear()

public AwsAccount.Builder clear()
Returns
Type Description
AwsAccount.Builder
Overrides

clearAccountId()

public AwsAccount.Builder clearAccountId()

Required. AWS account ID.

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

Returns
Type Description
AwsAccount.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public AwsAccount.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
AwsAccount.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public AwsAccount.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
AwsAccount.Builder
Overrides

clone()

public AwsAccount.Builder clone()
Returns
Type Description
AwsAccount.Builder
Overrides

getAccountId()

public String getAccountId()

Required. AWS account ID.

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

Returns
Type Description
String

The accountId.

getAccountIdBytes()

public ByteString getAccountIdBytes()

Required. AWS account ID.

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

Returns
Type Description
ByteString

The bytes for accountId.

getDefaultInstanceForType()

public AwsAccount getDefaultInstanceForType()
Returns
Type Description
AwsAccount

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AwsAccount other)

public AwsAccount.Builder mergeFrom(AwsAccount other)
Parameter
Name Description
other AwsAccount
Returns
Type Description
AwsAccount.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AwsAccount.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AwsAccount.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AwsAccount.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AwsAccount.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AwsAccount.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsAccount.Builder
Overrides

setAccountId(String value)

public AwsAccount.Builder setAccountId(String value)

Required. AWS account ID.

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

Parameter
Name Description
value String

The accountId to set.

Returns
Type Description
AwsAccount.Builder

This builder for chaining.

setAccountIdBytes(ByteString value)

public AwsAccount.Builder setAccountIdBytes(ByteString value)

Required. AWS account ID.

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

Parameter
Name Description
value ByteString

The bytes for accountId to set.

Returns
Type Description
AwsAccount.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public AwsAccount.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
AwsAccount.Builder
Overrides

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

public AwsAccount.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
AwsAccount.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AwsAccount.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
AwsAccount.Builder
Overrides