Class DiscoveryBigQueryConditions.Builder (3.44.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryBigQueryConditions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder
Overrides

build()

public DiscoveryBigQueryConditions build()
Returns
TypeDescription
DiscoveryBigQueryConditions

buildPartial()

public DiscoveryBigQueryConditions buildPartial()
Returns
TypeDescription
DiscoveryBigQueryConditions

clear()

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

clearField(Descriptors.FieldDescriptor field)

public DiscoveryBigQueryConditions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder
Overrides

clearIncludedTypes()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public DiscoveryBigQueryConditions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
DiscoveryBigQueryConditions.Builder

clearTypeCollection()

public DiscoveryBigQueryConditions.Builder clearTypeCollection()

Restrict discovery to categories of table types.

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

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

clone()

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

getDefaultInstanceForType()

public DiscoveryBigQueryConditions getDefaultInstanceForType()
Returns
TypeDescription
DiscoveryBigQueryConditions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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
TypeDescription
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
TypeDescription
DiscoveryBigQueryConditions.OrConditionsOrBuilder

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.

getTypesBuilder()

public BigQueryTableTypes.Builder getTypesBuilder()

Restrict discovery to specific table types.

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

Returns
TypeDescription
BigQueryTableTypes.Builder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder

mergeFrom(DiscoveryBigQueryConditions other)

public DiscoveryBigQueryConditions.Builder mergeFrom(DiscoveryBigQueryConditions other)
Parameter
NameDescription
otherDiscoveryBigQueryConditions
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DiscoveryBigQueryConditions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DiscoveryBigQueryConditions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueDiscoveryBigQueryConditions.OrConditions
Returns
TypeDescription
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
NameDescription
valueBigQueryTableTypes
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryBigQueryConditions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public DiscoveryBigQueryConditions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueDiscoveryBigQueryConditions.OrConditions
Returns
TypeDescription
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
NameDescription
builderForValueDiscoveryBigQueryConditions.OrConditions.Builder
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder

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

public DiscoveryBigQueryConditions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueBigQueryTableTypeCollection

The typeCollection to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
valueBigQueryTableTypes
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryTableTypes.Builder
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final DiscoveryBigQueryConditions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DiscoveryBigQueryConditions.Builder
Overrides