Class OtherCloudResourceRegex.Builder (3.57.0)

public static final class OtherCloudResourceRegex.Builder extends GeneratedMessageV3.Builder<OtherCloudResourceRegex.Builder> implements OtherCloudResourceRegexOrBuilder

A pattern to match against one or more resources. At least one pattern must be specified. Regular expressions use RE2 syntax; a guide can be found under the google/re2 repository on GitHub.

Protobuf type google.privacy.dlp.v2.OtherCloudResourceRegex

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OtherCloudResourceRegex build()
Returns
Type Description
OtherCloudResourceRegex

buildPartial()

public OtherCloudResourceRegex buildPartial()
Returns
Type Description
OtherCloudResourceRegex

clear()

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

clearAmazonS3BucketRegex()

public OtherCloudResourceRegex.Builder clearAmazonS3BucketRegex()

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Returns
Type Description
OtherCloudResourceRegex.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearResourceRegex()

public OtherCloudResourceRegex.Builder clearResourceRegex()
Returns
Type Description
OtherCloudResourceRegex.Builder

clone()

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

getAmazonS3BucketRegex()

public AmazonS3BucketRegex getAmazonS3BucketRegex()

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Returns
Type Description
AmazonS3BucketRegex

The amazonS3BucketRegex.

getAmazonS3BucketRegexBuilder()

public AmazonS3BucketRegex.Builder getAmazonS3BucketRegexBuilder()

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Returns
Type Description
AmazonS3BucketRegex.Builder

getAmazonS3BucketRegexOrBuilder()

public AmazonS3BucketRegexOrBuilder getAmazonS3BucketRegexOrBuilder()

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Returns
Type Description
AmazonS3BucketRegexOrBuilder

getDefaultInstanceForType()

public OtherCloudResourceRegex getDefaultInstanceForType()
Returns
Type Description
OtherCloudResourceRegex

getDescriptorForType()

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

getResourceRegexCase()

public OtherCloudResourceRegex.ResourceRegexCase getResourceRegexCase()
Returns
Type Description
OtherCloudResourceRegex.ResourceRegexCase

hasAmazonS3BucketRegex()

public boolean hasAmazonS3BucketRegex()

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Returns
Type Description
boolean

Whether the amazonS3BucketRegex field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAmazonS3BucketRegex(AmazonS3BucketRegex value)

public OtherCloudResourceRegex.Builder mergeAmazonS3BucketRegex(AmazonS3BucketRegex value)

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Parameter
Name Description
value AmazonS3BucketRegex
Returns
Type Description
OtherCloudResourceRegex.Builder

mergeFrom(OtherCloudResourceRegex other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAmazonS3BucketRegex(AmazonS3BucketRegex value)

public OtherCloudResourceRegex.Builder setAmazonS3BucketRegex(AmazonS3BucketRegex value)

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Parameter
Name Description
value AmazonS3BucketRegex
Returns
Type Description
OtherCloudResourceRegex.Builder

setAmazonS3BucketRegex(AmazonS3BucketRegex.Builder builderForValue)

public OtherCloudResourceRegex.Builder setAmazonS3BucketRegex(AmazonS3BucketRegex.Builder builderForValue)

Regex for Amazon S3 buckets.

.google.privacy.dlp.v2.AmazonS3BucketRegex amazon_s3_bucket_regex = 1;

Parameter
Name Description
builderForValue AmazonS3BucketRegex.Builder
Returns
Type Description
OtherCloudResourceRegex.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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