Class BigQueryRegexes.Builder (3.37.0)

public static final class BigQueryRegexes.Builder extends GeneratedMessageV3.Builder<BigQueryRegexes.Builder> implements BigQueryRegexesOrBuilder

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

Protobuf type google.privacy.dlp.v2.BigQueryRegexes

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllPatterns(Iterable<? extends BigQueryRegex> values)

public BigQueryRegexes.Builder addAllPatterns(Iterable<? extends BigQueryRegex> values)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.BigQueryRegex>
Returns
TypeDescription
BigQueryRegexes.Builder

addPatterns(BigQueryRegex value)

public BigQueryRegexes.Builder addPatterns(BigQueryRegex value)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameter
NameDescription
valueBigQueryRegex
Returns
TypeDescription
BigQueryRegexes.Builder

addPatterns(BigQueryRegex.Builder builderForValue)

public BigQueryRegexes.Builder addPatterns(BigQueryRegex.Builder builderForValue)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameter
NameDescription
builderForValueBigQueryRegex.Builder
Returns
TypeDescription
BigQueryRegexes.Builder

addPatterns(int index, BigQueryRegex value)

public BigQueryRegexes.Builder addPatterns(int index, BigQueryRegex value)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameters
NameDescription
indexint
valueBigQueryRegex
Returns
TypeDescription
BigQueryRegexes.Builder

addPatterns(int index, BigQueryRegex.Builder builderForValue)

public BigQueryRegexes.Builder addPatterns(int index, BigQueryRegex.Builder builderForValue)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameters
NameDescription
indexint
builderForValueBigQueryRegex.Builder
Returns
TypeDescription
BigQueryRegexes.Builder

addPatternsBuilder()

public BigQueryRegex.Builder addPatternsBuilder()

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Returns
TypeDescription
BigQueryRegex.Builder

addPatternsBuilder(int index)

public BigQueryRegex.Builder addPatternsBuilder(int index)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryRegex.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BigQueryRegexes.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

build()

public BigQueryRegexes build()
Returns
TypeDescription
BigQueryRegexes

buildPartial()

public BigQueryRegexes buildPartial()
Returns
TypeDescription
BigQueryRegexes

clear()

public BigQueryRegexes.Builder clear()
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BigQueryRegexes.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BigQueryRegexes.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

clearPatterns()

public BigQueryRegexes.Builder clearPatterns()

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Returns
TypeDescription
BigQueryRegexes.Builder

clone()

public BigQueryRegexes.Builder clone()
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

getDefaultInstanceForType()

public BigQueryRegexes getDefaultInstanceForType()
Returns
TypeDescription
BigQueryRegexes

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPatterns(int index)

public BigQueryRegex getPatterns(int index)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryRegex

getPatternsBuilder(int index)

public BigQueryRegex.Builder getPatternsBuilder(int index)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryRegex.Builder

getPatternsBuilderList()

public List<BigQueryRegex.Builder> getPatternsBuilderList()

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Returns
TypeDescription
List<Builder>

getPatternsCount()

public int getPatternsCount()

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Returns
TypeDescription
int

getPatternsList()

public List<BigQueryRegex> getPatternsList()

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Returns
TypeDescription
List<BigQueryRegex>

getPatternsOrBuilder(int index)

public BigQueryRegexOrBuilder getPatternsOrBuilder(int index)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryRegexOrBuilder

getPatternsOrBuilderList()

public List<? extends BigQueryRegexOrBuilder> getPatternsOrBuilderList()

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.BigQueryRegexOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BigQueryRegexes other)

public BigQueryRegexes.Builder mergeFrom(BigQueryRegexes other)
Parameter
NameDescription
otherBigQueryRegexes
Returns
TypeDescription
BigQueryRegexes.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BigQueryRegexes.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BigQueryRegexes.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryRegexes.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

removePatterns(int index)

public BigQueryRegexes.Builder removePatterns(int index)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryRegexes.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public BigQueryRegexes.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

setPatterns(int index, BigQueryRegex value)

public BigQueryRegexes.Builder setPatterns(int index, BigQueryRegex value)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameters
NameDescription
indexint
valueBigQueryRegex
Returns
TypeDescription
BigQueryRegexes.Builder

setPatterns(int index, BigQueryRegex.Builder builderForValue)

public BigQueryRegexes.Builder setPatterns(int index, BigQueryRegex.Builder builderForValue)

A single BigQuery regular expression pattern to match against one or more tables, datasets, or projects that contain BigQuery tables.

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

Parameters
NameDescription
indexint
builderForValueBigQueryRegex.Builder
Returns
TypeDescription
BigQueryRegexes.Builder

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

public BigQueryRegexes.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryRegexes.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BigQueryRegexes.Builder
Overrides