Class AmazonS3Bucket.Builder (3.58.0)

public static final class AmazonS3Bucket.Builder extends GeneratedMessageV3.Builder<AmazonS3Bucket.Builder> implements AmazonS3BucketOrBuilder

Amazon S3 bucket.

Protobuf type google.privacy.dlp.v2.AmazonS3Bucket

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AmazonS3Bucket build()
Returns
Type Description
AmazonS3Bucket

buildPartial()

public AmazonS3Bucket buildPartial()
Returns
Type Description
AmazonS3Bucket

clear()

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

clearAwsAccount()

public AmazonS3Bucket.Builder clearAwsAccount()

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Returns
Type Description
AmazonS3Bucket.Builder

clearBucketName()

public AmazonS3Bucket.Builder clearBucketName()

Required. The bucket name.

string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AmazonS3Bucket.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getAwsAccount()

public AwsAccount getAwsAccount()

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Returns
Type Description
AwsAccount

The awsAccount.

getAwsAccountBuilder()

public AwsAccount.Builder getAwsAccountBuilder()

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Returns
Type Description
AwsAccount.Builder

getAwsAccountOrBuilder()

public AwsAccountOrBuilder getAwsAccountOrBuilder()

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Returns
Type Description
AwsAccountOrBuilder

getBucketName()

public String getBucketName()

Required. The bucket name.

string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The bucketName.

getBucketNameBytes()

public ByteString getBucketNameBytes()

Required. The bucket name.

string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for bucketName.

getDefaultInstanceForType()

public AmazonS3Bucket getDefaultInstanceForType()
Returns
Type Description
AmazonS3Bucket

getDescriptorForType()

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

hasAwsAccount()

public boolean hasAwsAccount()

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Returns
Type Description
boolean

Whether the awsAccount field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAwsAccount(AwsAccount value)

public AmazonS3Bucket.Builder mergeAwsAccount(AwsAccount value)

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Parameter
Name Description
value AwsAccount
Returns
Type Description
AmazonS3Bucket.Builder

mergeFrom(AmazonS3Bucket other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAwsAccount(AwsAccount value)

public AmazonS3Bucket.Builder setAwsAccount(AwsAccount value)

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Parameter
Name Description
value AwsAccount
Returns
Type Description
AmazonS3Bucket.Builder

setAwsAccount(AwsAccount.Builder builderForValue)

public AmazonS3Bucket.Builder setAwsAccount(AwsAccount.Builder builderForValue)

The AWS account.

.google.privacy.dlp.v2.AwsAccount aws_account = 1;

Parameter
Name Description
builderForValue AwsAccount.Builder
Returns
Type Description
AmazonS3Bucket.Builder

setBucketName(String value)

public AmazonS3Bucket.Builder setBucketName(String value)

Required. The bucket name.

string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The bucketName to set.

Returns
Type Description
AmazonS3Bucket.Builder

This builder for chaining.

setBucketNameBytes(ByteString value)

public AmazonS3Bucket.Builder setBucketNameBytes(ByteString value)

Required. The bucket name.

string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for bucketName to set.

Returns
Type Description
AmazonS3Bucket.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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