Class AwsAccountRegex.Builder (3.58.0)

public static final class AwsAccountRegex.Builder extends GeneratedMessageV3.Builder<AwsAccountRegex.Builder> implements AwsAccountRegexOrBuilder

AWS account regex.

Protobuf type google.privacy.dlp.v2.AwsAccountRegex

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AwsAccountRegex build()
Returns
Type Description
AwsAccountRegex

buildPartial()

public AwsAccountRegex buildPartial()
Returns
Type Description
AwsAccountRegex

clear()

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

clearAccountIdRegex()

public AwsAccountRegex.Builder clearAccountIdRegex()

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

string account_id_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
AwsAccountRegex.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAccountIdRegex()

public String getAccountIdRegex()

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

string account_id_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The accountIdRegex.

getAccountIdRegexBytes()

public ByteString getAccountIdRegexBytes()

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

string account_id_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for accountIdRegex.

getDefaultInstanceForType()

public AwsAccountRegex getDefaultInstanceForType()
Returns
Type Description
AwsAccountRegex

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(AwsAccountRegex other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAccountIdRegex(String value)

public AwsAccountRegex.Builder setAccountIdRegex(String value)

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

string account_id_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The accountIdRegex to set.

Returns
Type Description
AwsAccountRegex.Builder

This builder for chaining.

setAccountIdRegexBytes(ByteString value)

public AwsAccountRegex.Builder setAccountIdRegexBytes(ByteString value)

Optional. Regex to test the AWS account ID against. If empty, all accounts match.

string account_id_regex = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for accountIdRegex to set.

Returns
Type Description
AwsAccountRegex.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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