Class DiscoveryBigQueryConditions (3.36.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
TypeDescription
int

OR_CONDITIONS_FIELD_NUMBER

public static final int OR_CONDITIONS_FIELD_NUMBER
Field Value
TypeDescription
int

TYPES_FIELD_NUMBER

public static final int TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_COLLECTION_FIELD_NUMBER

public static final int TYPE_COLLECTION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DiscoveryBigQueryConditions getDefaultInstance()
Returns
TypeDescription
DiscoveryBigQueryConditions

getDescriptor()

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

newBuilder()

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

newBuilder(DiscoveryBigQueryConditions prototype)

public static DiscoveryBigQueryConditions.Builder newBuilder(DiscoveryBigQueryConditions prototype)
Parameter
NameDescription
prototypeDiscoveryBigQueryConditions
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public DiscoveryBigQueryConditions getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryBigQueryConditions

getIncludedTypesCase()

public DiscoveryBigQueryConditions.IncludedTypesCase getIncludedTypesCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
DiscoveryBigQueryConditions.OrConditionsOrBuilder

getParserForType()

public Parser<DiscoveryBigQueryConditions> getParserForType()
Returns
TypeDescription
Parser<DiscoveryBigQueryConditions>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTypeCollection()

public BigQueryTableTypeCollection getTypeCollection()

Restrict discovery to categories of table types.

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

Returns
TypeDescription
BigQueryTableTypeCollection

The typeCollection.

getTypeCollectionValue()

public int getTypeCollectionValue()

Restrict discovery to categories of table types.

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

Returns
TypeDescription
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
TypeDescription
BigQueryTableTypes

The types.

getTypesOrBuilder()

public BigQueryTableTypesOrBuilder getTypesOrBuilder()

Restrict discovery to specific table types.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the types field is set.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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