Class DiscoveryBigQueryConditions.Builder (3.58.0)

public static final class DiscoveryBigQueryConditions.Builder extends GeneratedMessageV3.Builder<DiscoveryBigQueryConditions.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryBigQueryConditions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides

build()

public DiscoveryBigQueryConditions build()
Returns
Type Description
DiscoveryBigQueryConditions

buildPartial()

public DiscoveryBigQueryConditions buildPartial()
Returns
Type Description
DiscoveryBigQueryConditions

clear()

public DiscoveryBigQueryConditions.Builder clear()
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides

clearCreatedAfter()

public DiscoveryBigQueryConditions.Builder clearCreatedAfter()

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

.google.protobuf.Timestamp created_after = 1;

Returns
Type Description
DiscoveryBigQueryConditions.Builder

clearField(Descriptors.FieldDescriptor field)

public DiscoveryBigQueryConditions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides

clearIncludedTypes()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryBigQueryConditions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides

clearOrConditions()

public DiscoveryBigQueryConditions.Builder clearOrConditions()

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.Builder

clearTypeCollection()

public DiscoveryBigQueryConditions.Builder clearTypeCollection()

Restrict discovery to categories of table types.

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

Returns
Type Description
DiscoveryBigQueryConditions.Builder

This builder for chaining.

clearTypes()

public DiscoveryBigQueryConditions.Builder clearTypes()

Restrict discovery to specific table types.

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

Returns
Type Description
DiscoveryBigQueryConditions.Builder

clone()

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

getCreatedAfterBuilder()

public Timestamp.Builder getCreatedAfterBuilder()

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

.google.protobuf.Timestamp created_after = 1;

Returns
Type Description
Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

getOrConditionsBuilder()

public DiscoveryBigQueryConditions.OrConditions.Builder getOrConditionsBuilder()

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.Builder

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

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.

getTypesBuilder()

public BigQueryTableTypes.Builder getTypesBuilder()

Restrict discovery to specific table types.

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

Returns
Type Description
BigQueryTableTypes.Builder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreatedAfter(Timestamp value)

public DiscoveryBigQueryConditions.Builder mergeCreatedAfter(Timestamp value)

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

.google.protobuf.Timestamp created_after = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DiscoveryBigQueryConditions.Builder

mergeFrom(DiscoveryBigQueryConditions other)

public DiscoveryBigQueryConditions.Builder mergeFrom(DiscoveryBigQueryConditions other)
Parameter
Name Description
other DiscoveryBigQueryConditions
Returns
Type Description
DiscoveryBigQueryConditions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryBigQueryConditions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DiscoveryBigQueryConditions.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides

mergeOrConditions(DiscoveryBigQueryConditions.OrConditions value)

public DiscoveryBigQueryConditions.Builder mergeOrConditions(DiscoveryBigQueryConditions.OrConditions value)

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

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

Parameter
Name Description
value DiscoveryBigQueryConditions.OrConditions
Returns
Type Description
DiscoveryBigQueryConditions.Builder

mergeTypes(BigQueryTableTypes value)

public DiscoveryBigQueryConditions.Builder mergeTypes(BigQueryTableTypes value)

Restrict discovery to specific table types.

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

Parameter
Name Description
value BigQueryTableTypes
Returns
Type Description
DiscoveryBigQueryConditions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryBigQueryConditions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides

setCreatedAfter(Timestamp value)

public DiscoveryBigQueryConditions.Builder setCreatedAfter(Timestamp value)

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

.google.protobuf.Timestamp created_after = 1;

Parameter
Name Description
value Timestamp
Returns
Type Description
DiscoveryBigQueryConditions.Builder

setCreatedAfter(Timestamp.Builder builderForValue)

public DiscoveryBigQueryConditions.Builder setCreatedAfter(Timestamp.Builder builderForValue)

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

.google.protobuf.Timestamp created_after = 1;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
DiscoveryBigQueryConditions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryBigQueryConditions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides

setOrConditions(DiscoveryBigQueryConditions.OrConditions value)

public DiscoveryBigQueryConditions.Builder setOrConditions(DiscoveryBigQueryConditions.OrConditions value)

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

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

Parameter
Name Description
value DiscoveryBigQueryConditions.OrConditions
Returns
Type Description
DiscoveryBigQueryConditions.Builder

setOrConditions(DiscoveryBigQueryConditions.OrConditions.Builder builderForValue)

public DiscoveryBigQueryConditions.Builder setOrConditions(DiscoveryBigQueryConditions.OrConditions.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue DiscoveryBigQueryConditions.OrConditions.Builder
Returns
Type Description
DiscoveryBigQueryConditions.Builder

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

public DiscoveryBigQueryConditions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides

setTypeCollection(BigQueryTableTypeCollection value)

public DiscoveryBigQueryConditions.Builder setTypeCollection(BigQueryTableTypeCollection value)

Restrict discovery to categories of table types.

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

Parameter
Name Description
value BigQueryTableTypeCollection

The typeCollection to set.

Returns
Type Description
DiscoveryBigQueryConditions.Builder

This builder for chaining.

setTypeCollectionValue(int value)

public DiscoveryBigQueryConditions.Builder setTypeCollectionValue(int value)

Restrict discovery to categories of table types.

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

Parameter
Name Description
value int

The enum numeric value on the wire for typeCollection to set.

Returns
Type Description
DiscoveryBigQueryConditions.Builder

This builder for chaining.

setTypes(BigQueryTableTypes value)

public DiscoveryBigQueryConditions.Builder setTypes(BigQueryTableTypes value)

Restrict discovery to specific table types.

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

Parameter
Name Description
value BigQueryTableTypes
Returns
Type Description
DiscoveryBigQueryConditions.Builder

setTypes(BigQueryTableTypes.Builder builderForValue)

public DiscoveryBigQueryConditions.Builder setTypes(BigQueryTableTypes.Builder builderForValue)

Restrict discovery to specific table types.

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

Parameter
Name Description
builderForValue BigQueryTableTypes.Builder
Returns
Type Description
DiscoveryBigQueryConditions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryBigQueryConditions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DiscoveryBigQueryConditions.Builder
Overrides