Class BigQueryOptions.Builder (3.3.2)

public static final class BigQueryOptions.Builder extends GeneratedMessageV3.Builder<BigQueryOptions.Builder> implements BigQueryOptionsOrBuilder

Options defining BigQuery table and row identifiers.

Protobuf type google.privacy.dlp.v2.BigQueryOptions

Static Methods

getDescriptor()

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

Methods

addAllExcludedFields(Iterable<? extends FieldId> values)

public BigQueryOptions.Builder addAllExcludedFields(Iterable<? extends FieldId> values)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.FieldId>
Returns
TypeDescription
BigQueryOptions.Builder

addAllIdentifyingFields(Iterable<? extends FieldId> values)

public BigQueryOptions.Builder addAllIdentifyingFields(Iterable<? extends FieldId> values)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.FieldId>
Returns
TypeDescription
BigQueryOptions.Builder

addAllIncludedFields(Iterable<? extends FieldId> values)

public BigQueryOptions.Builder addAllIncludedFields(Iterable<? extends FieldId> values)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
NameDescription
valuesIterable<? extends com.google.privacy.dlp.v2.FieldId>
Returns
TypeDescription
BigQueryOptions.Builder

addExcludedFields(FieldId value)

public BigQueryOptions.Builder addExcludedFields(FieldId value)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

addExcludedFields(FieldId.Builder builderForValue)

public BigQueryOptions.Builder addExcludedFields(FieldId.Builder builderForValue)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

addExcludedFields(int index, FieldId value)

public BigQueryOptions.Builder addExcludedFields(int index, FieldId value)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameters
NameDescription
indexint
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

addExcludedFields(int index, FieldId.Builder builderForValue)

public BigQueryOptions.Builder addExcludedFields(int index, FieldId.Builder builderForValue)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameters
NameDescription
indexint
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

addExcludedFieldsBuilder()

public FieldId.Builder addExcludedFieldsBuilder()

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Returns
TypeDescription
FieldId.Builder

addExcludedFieldsBuilder(int index)

public FieldId.Builder addExcludedFieldsBuilder(int index)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId.Builder

addIdentifyingFields(FieldId value)

public BigQueryOptions.Builder addIdentifyingFields(FieldId value)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

addIdentifyingFields(FieldId.Builder builderForValue)

public BigQueryOptions.Builder addIdentifyingFields(FieldId.Builder builderForValue)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

addIdentifyingFields(int index, FieldId value)

public BigQueryOptions.Builder addIdentifyingFields(int index, FieldId value)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameters
NameDescription
indexint
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

addIdentifyingFields(int index, FieldId.Builder builderForValue)

public BigQueryOptions.Builder addIdentifyingFields(int index, FieldId.Builder builderForValue)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameters
NameDescription
indexint
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

addIdentifyingFieldsBuilder()

public FieldId.Builder addIdentifyingFieldsBuilder()

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Returns
TypeDescription
FieldId.Builder

addIdentifyingFieldsBuilder(int index)

public FieldId.Builder addIdentifyingFieldsBuilder(int index)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId.Builder

addIncludedFields(FieldId value)

public BigQueryOptions.Builder addIncludedFields(FieldId value)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
NameDescription
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

addIncludedFields(FieldId.Builder builderForValue)

public BigQueryOptions.Builder addIncludedFields(FieldId.Builder builderForValue)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
NameDescription
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

addIncludedFields(int index, FieldId value)

public BigQueryOptions.Builder addIncludedFields(int index, FieldId value)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameters
NameDescription
indexint
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

addIncludedFields(int index, FieldId.Builder builderForValue)

public BigQueryOptions.Builder addIncludedFields(int index, FieldId.Builder builderForValue)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameters
NameDescription
indexint
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

addIncludedFieldsBuilder()

public FieldId.Builder addIncludedFieldsBuilder()

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Returns
TypeDescription
FieldId.Builder

addIncludedFieldsBuilder(int index)

public FieldId.Builder addIncludedFieldsBuilder(int index)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryOptions build()
Returns
TypeDescription
BigQueryOptions

buildPartial()

public BigQueryOptions buildPartial()
Returns
TypeDescription
BigQueryOptions

clear()

public BigQueryOptions.Builder clear()
Returns
TypeDescription
BigQueryOptions.Builder
Overrides

clearExcludedFields()

public BigQueryOptions.Builder clearExcludedFields()

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Returns
TypeDescription
BigQueryOptions.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearIdentifyingFields()

public BigQueryOptions.Builder clearIdentifyingFields()

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Returns
TypeDescription
BigQueryOptions.Builder

clearIncludedFields()

public BigQueryOptions.Builder clearIncludedFields()

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Returns
TypeDescription
BigQueryOptions.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public BigQueryOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BigQueryOptions.Builder
Overrides

clearRowsLimit()

public BigQueryOptions.Builder clearRowsLimit()

Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.

int64 rows_limit = 3;

Returns
TypeDescription
BigQueryOptions.Builder

This builder for chaining.

clearRowsLimitPercent()

public BigQueryOptions.Builder clearRowsLimitPercent()

Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.

int32 rows_limit_percent = 6;

Returns
TypeDescription
BigQueryOptions.Builder

This builder for chaining.

clearSampleMethod()

public BigQueryOptions.Builder clearSampleMethod()

.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;

Returns
TypeDescription
BigQueryOptions.Builder

This builder for chaining.

clearTableReference()

public BigQueryOptions.Builder clearTableReference()

Complete BigQuery table reference.

.google.privacy.dlp.v2.BigQueryTable table_reference = 1;

Returns
TypeDescription
BigQueryOptions.Builder

clone()

public BigQueryOptions.Builder clone()
Returns
TypeDescription
BigQueryOptions.Builder
Overrides

getDefaultInstanceForType()

public BigQueryOptions getDefaultInstanceForType()
Returns
TypeDescription
BigQueryOptions

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getExcludedFields(int index)

public FieldId getExcludedFields(int index)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId

getExcludedFieldsBuilder(int index)

public FieldId.Builder getExcludedFieldsBuilder(int index)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId.Builder

getExcludedFieldsBuilderList()

public List<FieldId.Builder> getExcludedFieldsBuilderList()

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Returns
TypeDescription
List<Builder>

getExcludedFieldsCount()

public int getExcludedFieldsCount()

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Returns
TypeDescription
int

getExcludedFieldsList()

public List<FieldId> getExcludedFieldsList()

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Returns
TypeDescription
List<FieldId>

getExcludedFieldsOrBuilder(int index)

public FieldIdOrBuilder getExcludedFieldsOrBuilder(int index)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldIdOrBuilder

getExcludedFieldsOrBuilderList()

public List<? extends FieldIdOrBuilder> getExcludedFieldsOrBuilderList()

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder>

getIdentifyingFields(int index)

public FieldId getIdentifyingFields(int index)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId

getIdentifyingFieldsBuilder(int index)

public FieldId.Builder getIdentifyingFieldsBuilder(int index)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId.Builder

getIdentifyingFieldsBuilderList()

public List<FieldId.Builder> getIdentifyingFieldsBuilderList()

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Returns
TypeDescription
List<Builder>

getIdentifyingFieldsCount()

public int getIdentifyingFieldsCount()

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Returns
TypeDescription
int

getIdentifyingFieldsList()

public List<FieldId> getIdentifyingFieldsList()

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Returns
TypeDescription
List<FieldId>

getIdentifyingFieldsOrBuilder(int index)

public FieldIdOrBuilder getIdentifyingFieldsOrBuilder(int index)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldIdOrBuilder

getIdentifyingFieldsOrBuilderList()

public List<? extends FieldIdOrBuilder> getIdentifyingFieldsOrBuilderList()

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder>

getIncludedFields(int index)

public FieldId getIncludedFields(int index)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId

getIncludedFieldsBuilder(int index)

public FieldId.Builder getIncludedFieldsBuilder(int index)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldId.Builder

getIncludedFieldsBuilderList()

public List<FieldId.Builder> getIncludedFieldsBuilderList()

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Returns
TypeDescription
List<Builder>

getIncludedFieldsCount()

public int getIncludedFieldsCount()

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Returns
TypeDescription
int

getIncludedFieldsList()

public List<FieldId> getIncludedFieldsList()

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Returns
TypeDescription
List<FieldId>

getIncludedFieldsOrBuilder(int index)

public FieldIdOrBuilder getIncludedFieldsOrBuilder(int index)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
FieldIdOrBuilder

getIncludedFieldsOrBuilderList()

public List<? extends FieldIdOrBuilder> getIncludedFieldsOrBuilderList()

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Returns
TypeDescription
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder>

getRowsLimit()

public long getRowsLimit()

Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.

int64 rows_limit = 3;

Returns
TypeDescription
long

The rowsLimit.

getRowsLimitPercent()

public int getRowsLimitPercent()

Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.

int32 rows_limit_percent = 6;

Returns
TypeDescription
int

The rowsLimitPercent.

getSampleMethod()

public BigQueryOptions.SampleMethod getSampleMethod()

.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;

Returns
TypeDescription
BigQueryOptions.SampleMethod

The sampleMethod.

getSampleMethodValue()

public int getSampleMethodValue()

.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;

Returns
TypeDescription
int

The enum numeric value on the wire for sampleMethod.

getTableReference()

public BigQueryTable getTableReference()

Complete BigQuery table reference.

.google.privacy.dlp.v2.BigQueryTable table_reference = 1;

Returns
TypeDescription
BigQueryTable

The tableReference.

getTableReferenceBuilder()

public BigQueryTable.Builder getTableReferenceBuilder()

Complete BigQuery table reference.

.google.privacy.dlp.v2.BigQueryTable table_reference = 1;

Returns
TypeDescription
BigQueryTable.Builder

getTableReferenceOrBuilder()

public BigQueryTableOrBuilder getTableReferenceOrBuilder()

Complete BigQuery table reference.

.google.privacy.dlp.v2.BigQueryTable table_reference = 1;

Returns
TypeDescription
BigQueryTableOrBuilder

hasTableReference()

public boolean hasTableReference()

Complete BigQuery table reference.

.google.privacy.dlp.v2.BigQueryTable table_reference = 1;

Returns
TypeDescription
boolean

Whether the tableReference field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BigQueryOptions other)

public BigQueryOptions.Builder mergeFrom(BigQueryOptions other)
Parameter
NameDescription
otherBigQueryOptions
Returns
TypeDescription
BigQueryOptions.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BigQueryOptions.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BigQueryOptions.Builder
Overrides

mergeTableReference(BigQueryTable value)

public BigQueryOptions.Builder mergeTableReference(BigQueryTable value)

Complete BigQuery table reference.

.google.privacy.dlp.v2.BigQueryTable table_reference = 1;

Parameter
NameDescription
valueBigQueryTable
Returns
TypeDescription
BigQueryOptions.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BigQueryOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BigQueryOptions.Builder
Overrides

removeExcludedFields(int index)

public BigQueryOptions.Builder removeExcludedFields(int index)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryOptions.Builder

removeIdentifyingFields(int index)

public BigQueryOptions.Builder removeIdentifyingFields(int index)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryOptions.Builder

removeIncludedFields(int index)

public BigQueryOptions.Builder removeIncludedFields(int index)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameter
NameDescription
indexint
Returns
TypeDescription
BigQueryOptions.Builder

setExcludedFields(int index, FieldId value)

public BigQueryOptions.Builder setExcludedFields(int index, FieldId value)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameters
NameDescription
indexint
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

setExcludedFields(int index, FieldId.Builder builderForValue)

public BigQueryOptions.Builder setExcludedFields(int index, FieldId.Builder builderForValue)

References to fields excluded from scanning. This allows you to skip inspection of entire columns which you know have no findings.

repeated .google.privacy.dlp.v2.FieldId excluded_fields = 5;

Parameters
NameDescription
indexint
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIdentifyingFields(int index, FieldId value)

public BigQueryOptions.Builder setIdentifyingFields(int index, FieldId value)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameters
NameDescription
indexint
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

setIdentifyingFields(int index, FieldId.Builder builderForValue)

public BigQueryOptions.Builder setIdentifyingFields(int index, FieldId.Builder builderForValue)

Table fields that may uniquely identify a row within the table. When actions.saveFindings.outputConfig.table is specified, the values of columns specified here are available in the output table under location.content_locations.record_location.record_key.id_values. Nested fields such as person.birthdate.year are allowed.

repeated .google.privacy.dlp.v2.FieldId identifying_fields = 2;

Parameters
NameDescription
indexint
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

setIncludedFields(int index, FieldId value)

public BigQueryOptions.Builder setIncludedFields(int index, FieldId value)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameters
NameDescription
indexint
valueFieldId
Returns
TypeDescription
BigQueryOptions.Builder

setIncludedFields(int index, FieldId.Builder builderForValue)

public BigQueryOptions.Builder setIncludedFields(int index, FieldId.Builder builderForValue)

Limit scanning only to these fields.

repeated .google.privacy.dlp.v2.FieldId included_fields = 7;

Parameters
NameDescription
indexint
builderForValueFieldId.Builder
Returns
TypeDescription
BigQueryOptions.Builder

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

public BigQueryOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BigQueryOptions.Builder
Overrides

setRowsLimit(long value)

public BigQueryOptions.Builder setRowsLimit(long value)

Max number of rows to scan. If the table has more rows than this value, the rest of the rows are omitted. If not set, or if set to 0, all rows will be scanned. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.

int64 rows_limit = 3;

Parameter
NameDescription
valuelong

The rowsLimit to set.

Returns
TypeDescription
BigQueryOptions.Builder

This builder for chaining.

setRowsLimitPercent(int value)

public BigQueryOptions.Builder setRowsLimitPercent(int value)

Max percentage of rows to scan. The rest are omitted. The number of rows scanned is rounded down. Must be between 0 and 100, inclusively. Both 0 and 100 means no limit. Defaults to 0. Only one of rows_limit and rows_limit_percent can be specified. Cannot be used in conjunction with TimespanConfig.

int32 rows_limit_percent = 6;

Parameter
NameDescription
valueint

The rowsLimitPercent to set.

Returns
TypeDescription
BigQueryOptions.Builder

This builder for chaining.

setSampleMethod(BigQueryOptions.SampleMethod value)

public BigQueryOptions.Builder setSampleMethod(BigQueryOptions.SampleMethod value)

.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;

Parameter
NameDescription
valueBigQueryOptions.SampleMethod

The sampleMethod to set.

Returns
TypeDescription
BigQueryOptions.Builder

This builder for chaining.

setSampleMethodValue(int value)

public BigQueryOptions.Builder setSampleMethodValue(int value)

.google.privacy.dlp.v2.BigQueryOptions.SampleMethod sample_method = 4;

Parameter
NameDescription
valueint

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

Returns
TypeDescription
BigQueryOptions.Builder

This builder for chaining.

setTableReference(BigQueryTable value)

public BigQueryOptions.Builder setTableReference(BigQueryTable value)

Complete BigQuery table reference.

.google.privacy.dlp.v2.BigQueryTable table_reference = 1;

Parameter
NameDescription
valueBigQueryTable
Returns
TypeDescription
BigQueryOptions.Builder

setTableReference(BigQueryTable.Builder builderForValue)

public BigQueryOptions.Builder setTableReference(BigQueryTable.Builder builderForValue)

Complete BigQuery table reference.

.google.privacy.dlp.v2.BigQueryTable table_reference = 1;

Parameter
NameDescription
builderForValueBigQueryTable.Builder
Returns
TypeDescription
BigQueryOptions.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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