public static final class AmazonS3BucketRegex.Builder extends GeneratedMessageV3.Builder<AmazonS3BucketRegex.Builder> implements AmazonS3BucketRegexOrBuilder
Amazon S3 bucket regex.
Protobuf type google.privacy.dlp.v2.AmazonS3BucketRegex
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 AmazonS3BucketRegex.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AmazonS3BucketRegex build()
buildPartial()
public AmazonS3BucketRegex buildPartial()
clear()
public AmazonS3BucketRegex.Builder clear()
Overrides
clearAwsAccountRegex()
public AmazonS3BucketRegex.Builder clearAwsAccountRegex()
The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
clearBucketNameRegex()
public AmazonS3BucketRegex.Builder clearBucketNameRegex()
Optional. Regex to test the bucket name against.
If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public AmazonS3BucketRegex.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public AmazonS3BucketRegex.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public AmazonS3BucketRegex.Builder clone()
Overrides
getAwsAccountRegex()
public AwsAccountRegex getAwsAccountRegex()
The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
getAwsAccountRegexBuilder()
public AwsAccountRegex.Builder getAwsAccountRegexBuilder()
The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
getAwsAccountRegexOrBuilder()
public AwsAccountRegexOrBuilder getAwsAccountRegexOrBuilder()
The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
getBucketNameRegex()
public String getBucketNameRegex()
Optional. Regex to test the bucket name against.
If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
String |
The bucketNameRegex.
|
getBucketNameRegexBytes()
public ByteString getBucketNameRegexBytes()
Optional. Regex to test the bucket name against.
If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns |
Type |
Description |
ByteString |
The bytes for bucketNameRegex.
|
getDefaultInstanceForType()
public AmazonS3BucketRegex getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
hasAwsAccountRegex()
public boolean hasAwsAccountRegex()
The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
Returns |
Type |
Description |
boolean |
Whether the awsAccountRegex field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeAwsAccountRegex(AwsAccountRegex value)
public AmazonS3BucketRegex.Builder mergeAwsAccountRegex(AwsAccountRegex value)
The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
mergeFrom(AmazonS3BucketRegex other)
public AmazonS3BucketRegex.Builder mergeFrom(AmazonS3BucketRegex other)
public AmazonS3BucketRegex.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AmazonS3BucketRegex.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AmazonS3BucketRegex.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAwsAccountRegex(AwsAccountRegex value)
public AmazonS3BucketRegex.Builder setAwsAccountRegex(AwsAccountRegex value)
The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
setAwsAccountRegex(AwsAccountRegex.Builder builderForValue)
public AmazonS3BucketRegex.Builder setAwsAccountRegex(AwsAccountRegex.Builder builderForValue)
The AWS account regex.
.google.privacy.dlp.v2.AwsAccountRegex aws_account_regex = 1;
setBucketNameRegex(String value)
public AmazonS3BucketRegex.Builder setBucketNameRegex(String value)
Optional. Regex to test the bucket name against.
If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
String
The bucketNameRegex to set.
|
setBucketNameRegexBytes(ByteString value)
public AmazonS3BucketRegex.Builder setBucketNameRegexBytes(ByteString value)
Optional. Regex to test the bucket name against.
If empty, all buckets match.
string bucket_name_regex = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter |
Name |
Description |
value |
ByteString
The bytes for bucketNameRegex to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AmazonS3BucketRegex.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AmazonS3BucketRegex.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AmazonS3BucketRegex.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides