Class BigQueryRegex (3.46.0)

public final class BigQueryRegex extends GeneratedMessageV3 implements BigQueryRegexOrBuilder

A pattern to match against one or more tables, datasets, or projects that contain BigQuery tables. 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.BigQueryRegex

Static Fields

DATASET_ID_REGEX_FIELD_NUMBER

public static final int DATASET_ID_REGEX_FIELD_NUMBER
Field Value
Type Description
int

PROJECT_ID_REGEX_FIELD_NUMBER

public static final int PROJECT_ID_REGEX_FIELD_NUMBER
Field Value
Type Description
int

TABLE_ID_REGEX_FIELD_NUMBER

public static final int TABLE_ID_REGEX_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BigQueryRegex getDefaultInstance()
Returns
Type Description
BigQueryRegex

getDescriptor()

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

newBuilder()

public static BigQueryRegex.Builder newBuilder()
Returns
Type Description
BigQueryRegex.Builder

newBuilder(BigQueryRegex prototype)

public static BigQueryRegex.Builder newBuilder(BigQueryRegex prototype)
Parameter
Name Description
prototype BigQueryRegex
Returns
Type Description
BigQueryRegex.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryRegex parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BigQueryRegex parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryRegex parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryRegex parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BigQueryRegex parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BigQueryRegex parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQueryRegex
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BigQueryRegex> parser()
Returns
Type Description
Parser<BigQueryRegex>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDatasetIdRegex()

public String getDatasetIdRegex()

If unset, this property matches all datasets.

string dataset_id_regex = 2;

Returns
Type Description
String

The datasetIdRegex.

getDatasetIdRegexBytes()

public ByteString getDatasetIdRegexBytes()

If unset, this property matches all datasets.

string dataset_id_regex = 2;

Returns
Type Description
ByteString

The bytes for datasetIdRegex.

getDefaultInstanceForType()

public BigQueryRegex getDefaultInstanceForType()
Returns
Type Description
BigQueryRegex

getParserForType()

public Parser<BigQueryRegex> getParserForType()
Returns
Type Description
Parser<BigQueryRegex>
Overrides

getProjectIdRegex()

public String getProjectIdRegex()

For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.

string project_id_regex = 1;

Returns
Type Description
String

The projectIdRegex.

getProjectIdRegexBytes()

public ByteString getProjectIdRegexBytes()

For organizations, if unset, will match all projects. Has no effect for data profile configurations created within a project.

string project_id_regex = 1;

Returns
Type Description
ByteString

The bytes for projectIdRegex.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTableIdRegex()

public String getTableIdRegex()

If unset, this property matches all tables.

string table_id_regex = 3;

Returns
Type Description
String

The tableIdRegex.

getTableIdRegexBytes()

public ByteString getTableIdRegexBytes()

If unset, this property matches all tables.

string table_id_regex = 3;

Returns
Type Description
ByteString

The bytes for tableIdRegex.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BigQueryRegex.Builder newBuilderForType()
Returns
Type Description
BigQueryRegex.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryRegex.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BigQueryRegex.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BigQueryRegex.Builder toBuilder()
Returns
Type Description
BigQueryRegex.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException