Class OtherCloudResourceRegexes.Builder (3.58.0)

public static final class OtherCloudResourceRegexes.Builder extends GeneratedMessageV3.Builder<OtherCloudResourceRegexes.Builder> implements OtherCloudResourceRegexesOrBuilder

A collection of regular expressions to determine what resources to match against.

Protobuf type google.privacy.dlp.v2.OtherCloudResourceRegexes

Static Methods

getDescriptor()

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

Methods

addAllPatterns(Iterable<? extends OtherCloudResourceRegex> values)

public OtherCloudResourceRegexes.Builder addAllPatterns(Iterable<? extends OtherCloudResourceRegex> values)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameter
Name Description
values Iterable<? extends com.google.privacy.dlp.v2.OtherCloudResourceRegex>
Returns
Type Description
OtherCloudResourceRegexes.Builder

addPatterns(OtherCloudResourceRegex value)

public OtherCloudResourceRegexes.Builder addPatterns(OtherCloudResourceRegex value)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameter
Name Description
value OtherCloudResourceRegex
Returns
Type Description
OtherCloudResourceRegexes.Builder

addPatterns(OtherCloudResourceRegex.Builder builderForValue)

public OtherCloudResourceRegexes.Builder addPatterns(OtherCloudResourceRegex.Builder builderForValue)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

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

addPatterns(int index, OtherCloudResourceRegex value)

public OtherCloudResourceRegexes.Builder addPatterns(int index, OtherCloudResourceRegex value)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameters
Name Description
index int
value OtherCloudResourceRegex
Returns
Type Description
OtherCloudResourceRegexes.Builder

addPatterns(int index, OtherCloudResourceRegex.Builder builderForValue)

public OtherCloudResourceRegexes.Builder addPatterns(int index, OtherCloudResourceRegex.Builder builderForValue)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameters
Name Description
index int
builderForValue OtherCloudResourceRegex.Builder
Returns
Type Description
OtherCloudResourceRegexes.Builder

addPatternsBuilder()

public OtherCloudResourceRegex.Builder addPatternsBuilder()

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Returns
Type Description
OtherCloudResourceRegex.Builder

addPatternsBuilder(int index)

public OtherCloudResourceRegex.Builder addPatternsBuilder(int index)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
OtherCloudResourceRegex.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OtherCloudResourceRegexes build()
Returns
Type Description
OtherCloudResourceRegexes

buildPartial()

public OtherCloudResourceRegexes buildPartial()
Returns
Type Description
OtherCloudResourceRegexes

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatterns()

public OtherCloudResourceRegexes.Builder clearPatterns()

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Returns
Type Description
OtherCloudResourceRegexes.Builder

clone()

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

getDefaultInstanceForType()

public OtherCloudResourceRegexes getDefaultInstanceForType()
Returns
Type Description
OtherCloudResourceRegexes

getDescriptorForType()

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

getPatterns(int index)

public OtherCloudResourceRegex getPatterns(int index)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
OtherCloudResourceRegex

getPatternsBuilder(int index)

public OtherCloudResourceRegex.Builder getPatternsBuilder(int index)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
OtherCloudResourceRegex.Builder

getPatternsBuilderList()

public List<OtherCloudResourceRegex.Builder> getPatternsBuilderList()

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Returns
Type Description
List<Builder>

getPatternsCount()

public int getPatternsCount()

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Returns
Type Description
int

getPatternsList()

public List<OtherCloudResourceRegex> getPatternsList()

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Returns
Type Description
List<OtherCloudResourceRegex>

getPatternsOrBuilder(int index)

public OtherCloudResourceRegexOrBuilder getPatternsOrBuilder(int index)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
OtherCloudResourceRegexOrBuilder

getPatternsOrBuilderList()

public List<? extends OtherCloudResourceRegexOrBuilder> getPatternsOrBuilderList()

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Returns
Type Description
List<? extends com.google.privacy.dlp.v2.OtherCloudResourceRegexOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(OtherCloudResourceRegexes other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePatterns(int index)

public OtherCloudResourceRegexes.Builder removePatterns(int index)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameter
Name Description
index int
Returns
Type Description
OtherCloudResourceRegexes.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPatterns(int index, OtherCloudResourceRegex value)

public OtherCloudResourceRegexes.Builder setPatterns(int index, OtherCloudResourceRegex value)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameters
Name Description
index int
value OtherCloudResourceRegex
Returns
Type Description
OtherCloudResourceRegexes.Builder

setPatterns(int index, OtherCloudResourceRegex.Builder builderForValue)

public OtherCloudResourceRegexes.Builder setPatterns(int index, OtherCloudResourceRegex.Builder builderForValue)

A group of regular expression patterns to match against one or more resources. Maximum of 100 entries. The sum of all regular expression's length can't exceed 10 KiB.

repeated .google.privacy.dlp.v2.OtherCloudResourceRegex patterns = 1;

Parameters
Name Description
index int
builderForValue OtherCloudResourceRegex.Builder
Returns
Type Description
OtherCloudResourceRegexes.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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