public static final class AmazonS3Bucket.Builder extends GeneratedMessageV3.Builder<AmazonS3Bucket.Builder> implements AmazonS3BucketOrBuilder
Amazon S3 bucket.
Protobuf type google.privacy.dlp.v2.AmazonS3Bucket
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AmazonS3Bucket.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AmazonS3Bucket build()
buildPartial()
public AmazonS3Bucket buildPartial()
clear()
public AmazonS3Bucket.Builder clear()
Overrides
clearAwsAccount()
public AmazonS3Bucket.Builder clearAwsAccount()
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
clearBucketName()
public AmazonS3Bucket.Builder clearBucketName()
Required. The bucket name.
string bucket_name = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public AmazonS3Bucket.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AmazonS3Bucket.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AmazonS3Bucket.Builder clone()
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;
getAwsAccountOrBuilder()
public AwsAccountOrBuilder getAwsAccountOrBuilder()
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAwsAccount(AwsAccount value)
public AmazonS3Bucket.Builder mergeAwsAccount(AwsAccount value)
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
mergeFrom(AmazonS3Bucket other)
public AmazonS3Bucket.Builder mergeFrom(AmazonS3Bucket other)
public AmazonS3Bucket.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AmazonS3Bucket.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AmazonS3Bucket.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAwsAccount(AwsAccount value)
public AmazonS3Bucket.Builder setAwsAccount(AwsAccount value)
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
setAwsAccount(AwsAccount.Builder builderForValue)
public AmazonS3Bucket.Builder setAwsAccount(AwsAccount.Builder builderForValue)
The AWS account.
.google.privacy.dlp.v2.AwsAccount aws_account = 1;
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AmazonS3Bucket.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AmazonS3Bucket.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AmazonS3Bucket.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides