Class DiscoveryBigQueryConditions (3.51.0)

public final class DiscoveryBigQueryConditions extends GeneratedMessageV3 implements DiscoveryBigQueryConditionsOrBuilder

Requirements that must be true before a table is scanned in discovery for the first time. There is an AND relationship between the top-level attributes. Additionally, minimum conditions with an OR relationship that must be met before Cloud DLP scans a table can be set (like a minimum row count or a minimum table age).

Protobuf type google.privacy.dlp.v2.DiscoveryBigQueryConditions

Static Fields

CREATED_AFTER_FIELD_NUMBER

public static final int CREATED_AFTER_FIELD_NUMBER
Field Value
Type Description
int

OR_CONDITIONS_FIELD_NUMBER

public static final int OR_CONDITIONS_FIELD_NUMBER
Field Value
Type Description
int

TYPES_FIELD_NUMBER

public static final int TYPES_FIELD_NUMBER
Field Value
Type Description
int

TYPE_COLLECTION_FIELD_NUMBER

public static final int TYPE_COLLECTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DiscoveryBigQueryConditions getDefaultInstance()
Returns
Type Description
DiscoveryBigQueryConditions

getDescriptor()

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

newBuilder()

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

newBuilder(DiscoveryBigQueryConditions prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreatedAfter()

public Timestamp getCreatedAfter()

BigQuery table must have been created after this date. Used to avoid backfilling.

.google.protobuf.Timestamp created_after = 1;

Returns
Type Description
Timestamp

The createdAfter.

getCreatedAfterOrBuilder()

public TimestampOrBuilder getCreatedAfterOrBuilder()

BigQuery table must have been created after this date. Used to avoid backfilling.

.google.protobuf.Timestamp created_after = 1;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public DiscoveryBigQueryConditions getDefaultInstanceForType()
Returns
Type Description
DiscoveryBigQueryConditions

getIncludedTypesCase()

public DiscoveryBigQueryConditions.IncludedTypesCase getIncludedTypesCase()
Returns
Type Description
DiscoveryBigQueryConditions.IncludedTypesCase

getOrConditions()

public DiscoveryBigQueryConditions.OrConditions getOrConditions()

At least one of the conditions must be true for a table to be scanned.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;

Returns
Type Description
DiscoveryBigQueryConditions.OrConditions

The orConditions.

getOrConditionsOrBuilder()

public DiscoveryBigQueryConditions.OrConditionsOrBuilder getOrConditionsOrBuilder()

At least one of the conditions must be true for a table to be scanned.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;

Returns
Type Description
DiscoveryBigQueryConditions.OrConditionsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTypeCollection()

public BigQueryTableTypeCollection getTypeCollection()

Restrict discovery to categories of table types.

.google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;

Returns
Type Description
BigQueryTableTypeCollection

The typeCollection.

getTypeCollectionValue()

public int getTypeCollectionValue()

Restrict discovery to categories of table types.

.google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;

Returns
Type Description
int

The enum numeric value on the wire for typeCollection.

getTypes()

public BigQueryTableTypes getTypes()

Restrict discovery to specific table types.

.google.privacy.dlp.v2.BigQueryTableTypes types = 2;

Returns
Type Description
BigQueryTableTypes

The types.

getTypesOrBuilder()

public BigQueryTableTypesOrBuilder getTypesOrBuilder()

Restrict discovery to specific table types.

.google.privacy.dlp.v2.BigQueryTableTypes types = 2;

Returns
Type Description
BigQueryTableTypesOrBuilder

hasCreatedAfter()

public boolean hasCreatedAfter()

BigQuery table must have been created after this date. Used to avoid backfilling.

.google.protobuf.Timestamp created_after = 1;

Returns
Type Description
boolean

Whether the createdAfter field is set.

hasOrConditions()

public boolean hasOrConditions()

At least one of the conditions must be true for a table to be scanned.

.google.privacy.dlp.v2.DiscoveryBigQueryConditions.OrConditions or_conditions = 4;

Returns
Type Description
boolean

Whether the orConditions field is set.

hasTypeCollection()

public boolean hasTypeCollection()

Restrict discovery to categories of table types.

.google.privacy.dlp.v2.BigQueryTableTypeCollection type_collection = 3;

Returns
Type Description
boolean

Whether the typeCollection field is set.

hasTypes()

public boolean hasTypes()

Restrict discovery to specific table types.

.google.privacy.dlp.v2.BigQueryTableTypes types = 2;

Returns
Type Description
boolean

Whether the types field is set.

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 DiscoveryBigQueryConditions.Builder newBuilderForType()
Returns
Type Description
DiscoveryBigQueryConditions.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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