Class FileStoreRegexes.Builder (3.56.0)

public static final class FileStoreRegexes.Builder extends GeneratedMessageV3.Builder<FileStoreRegexes.Builder> implements FileStoreRegexesOrBuilder

A collection of regular expressions to determine what file store to match against.

Protobuf type google.privacy.dlp.v2.FileStoreRegexes

Static Methods

getDescriptor()

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

Methods

addAllPatterns(Iterable<? extends FileStoreRegex> values)

public FileStoreRegexes.Builder addAllPatterns(Iterable<? extends FileStoreRegex> values)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

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

addPatterns(FileStoreRegex value)

public FileStoreRegexes.Builder addPatterns(FileStoreRegex value)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value FileStoreRegex
Returns
Type Description
FileStoreRegexes.Builder

addPatterns(FileStoreRegex.Builder builderForValue)

public FileStoreRegexes.Builder addPatterns(FileStoreRegex.Builder builderForValue)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue FileStoreRegex.Builder
Returns
Type Description
FileStoreRegexes.Builder

addPatterns(int index, FileStoreRegex value)

public FileStoreRegexes.Builder addPatterns(int index, FileStoreRegex value)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value FileStoreRegex
Returns
Type Description
FileStoreRegexes.Builder

addPatterns(int index, FileStoreRegex.Builder builderForValue)

public FileStoreRegexes.Builder addPatterns(int index, FileStoreRegex.Builder builderForValue)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue FileStoreRegex.Builder
Returns
Type Description
FileStoreRegexes.Builder

addPatternsBuilder()

public FileStoreRegex.Builder addPatternsBuilder()

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FileStoreRegex.Builder

addPatternsBuilder(int index)

public FileStoreRegex.Builder addPatternsBuilder(int index)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FileStoreRegex.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FileStoreRegexes build()
Returns
Type Description
FileStoreRegexes

buildPartial()

public FileStoreRegexes buildPartial()
Returns
Type Description
FileStoreRegexes

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPatterns()

public FileStoreRegexes.Builder clearPatterns()

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
FileStoreRegexes.Builder

clone()

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

getDefaultInstanceForType()

public FileStoreRegexes getDefaultInstanceForType()
Returns
Type Description
FileStoreRegexes

getDescriptorForType()

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

getPatterns(int index)

public FileStoreRegex getPatterns(int index)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FileStoreRegex

getPatternsBuilder(int index)

public FileStoreRegex.Builder getPatternsBuilder(int index)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FileStoreRegex.Builder

getPatternsBuilderList()

public List<FileStoreRegex.Builder> getPatternsBuilderList()

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getPatternsCount()

public int getPatternsCount()

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPatternsList()

public List<FileStoreRegex> getPatternsList()

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<FileStoreRegex>

getPatternsOrBuilder(int index)

public FileStoreRegexOrBuilder getPatternsOrBuilder(int index)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FileStoreRegexOrBuilder

getPatternsOrBuilderList()

public List<? extends FileStoreRegexOrBuilder> getPatternsOrBuilderList()

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FileStoreRegexes other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePatterns(int index)

public FileStoreRegexes.Builder removePatterns(int index)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
FileStoreRegexes.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPatterns(int index, FileStoreRegex value)

public FileStoreRegexes.Builder setPatterns(int index, FileStoreRegex value)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value FileStoreRegex
Returns
Type Description
FileStoreRegexes.Builder

setPatterns(int index, FileStoreRegex.Builder builderForValue)

public FileStoreRegexes.Builder setPatterns(int index, FileStoreRegex.Builder builderForValue)

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

repeated .google.privacy.dlp.v2.FileStoreRegex patterns = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue FileStoreRegex.Builder
Returns
Type Description
FileStoreRegexes.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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