Class BigQueryRegex (3.38.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
TypeDescription
int

PROJECT_ID_REGEX_FIELD_NUMBER

public static final int PROJECT_ID_REGEX_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_ID_REGEX_FIELD_NUMBER

public static final int TABLE_ID_REGEX_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BigQueryRegex getDefaultInstance()
Returns
TypeDescription
BigQueryRegex

getDescriptor()

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

newBuilder()

public static BigQueryRegex.Builder newBuilder()
Returns
TypeDescription
BigQueryRegex.Builder

newBuilder(BigQueryRegex prototype)

public static BigQueryRegex.Builder newBuilder(BigQueryRegex prototype)
Parameter
NameDescription
prototypeBigQueryRegex
Returns
TypeDescription
BigQueryRegex.Builder

parseDelimitedFrom(InputStream input)

public static BigQueryRegex parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BigQueryRegex parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQueryRegex parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQueryRegex parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BigQueryRegex parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BigQueryRegex parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQueryRegex parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BigQueryRegex
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BigQueryRegex> parser()
Returns
TypeDescription
Parser<BigQueryRegex>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDatasetIdRegex()

public String getDatasetIdRegex()

If unset, this property matches all datasets.

string dataset_id_regex = 2;

Returns
TypeDescription
String

The datasetIdRegex.

getDatasetIdRegexBytes()

public ByteString getDatasetIdRegexBytes()

If unset, this property matches all datasets.

string dataset_id_regex = 2;

Returns
TypeDescription
ByteString

The bytes for datasetIdRegex.

getDefaultInstanceForType()

public BigQueryRegex getDefaultInstanceForType()
Returns
TypeDescription
BigQueryRegex

getParserForType()

public Parser<BigQueryRegex> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for projectIdRegex.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTableIdRegex()

public String getTableIdRegex()

If unset, this property matches all tables.

string table_id_regex = 3;

Returns
TypeDescription
String

The tableIdRegex.

getTableIdRegexBytes()

public ByteString getTableIdRegexBytes()

If unset, this property matches all tables.

string table_id_regex = 3;

Returns
TypeDescription
ByteString

The bytes for tableIdRegex.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BigQueryRegex.Builder newBuilderForType()
Returns
TypeDescription
BigQueryRegex.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQueryRegex.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BigQueryRegex.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BigQueryRegex.Builder toBuilder()
Returns
TypeDescription
BigQueryRegex.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException