Class BigQueryKey.Builder (3.34.0)

public static final class BigQueryKey.Builder extends GeneratedMessageV3.Builder<BigQueryKey.Builder> implements BigQueryKeyOrBuilder

Row key for identifying a record in BigQuery table.

Protobuf type google.privacy.dlp.v2.BigQueryKey

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQueryKey build()
Returns
TypeDescription
BigQueryKey

buildPartial()

public BigQueryKey buildPartial()
Returns
TypeDescription
BigQueryKey

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRowNumber()

public BigQueryKey.Builder clearRowNumber()

Row number inferred at the time the table was scanned. This value is nondeterministic, cannot be queried, and may be null for inspection jobs. To locate findings within a table, specify inspect_job.storage_config.big_query_options.identifying_fields in CreateDlpJobRequest.

int64 row_number = 2;

Returns
TypeDescription
BigQueryKey.Builder

This builder for chaining.

clearTableReference()

public BigQueryKey.Builder clearTableReference()

Complete BigQuery table reference.

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

Returns
TypeDescription
BigQueryKey.Builder

clone()

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

getDefaultInstanceForType()

public BigQueryKey getDefaultInstanceForType()
Returns
TypeDescription
BigQueryKey

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getRowNumber()

public long getRowNumber()

Row number inferred at the time the table was scanned. This value is nondeterministic, cannot be queried, and may be null for inspection jobs. To locate findings within a table, specify inspect_job.storage_config.big_query_options.identifying_fields in CreateDlpJobRequest.

int64 row_number = 2;

Returns
TypeDescription
long

The rowNumber.

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(BigQueryKey other)

public BigQueryKey.Builder mergeFrom(BigQueryKey other)
Parameter
NameDescription
otherBigQueryKey
Returns
TypeDescription
BigQueryKey.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTableReference(BigQueryTable value)

public BigQueryKey.Builder mergeTableReference(BigQueryTable value)

Complete BigQuery table reference.

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

Parameter
NameDescription
valueBigQueryTable
Returns
TypeDescription
BigQueryKey.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRowNumber(long value)

public BigQueryKey.Builder setRowNumber(long value)

Row number inferred at the time the table was scanned. This value is nondeterministic, cannot be queried, and may be null for inspection jobs. To locate findings within a table, specify inspect_job.storage_config.big_query_options.identifying_fields in CreateDlpJobRequest.

int64 row_number = 2;

Parameter
NameDescription
valuelong

The rowNumber to set.

Returns
TypeDescription
BigQueryKey.Builder

This builder for chaining.

setTableReference(BigQueryTable value)

public BigQueryKey.Builder setTableReference(BigQueryTable value)

Complete BigQuery table reference.

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

Parameter
NameDescription
valueBigQueryTable
Returns
TypeDescription
BigQueryKey.Builder

setTableReference(BigQueryTable.Builder builderForValue)

public BigQueryKey.Builder setTableReference(BigQueryTable.Builder builderForValue)

Complete BigQuery table reference.

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

Parameter
NameDescription
builderForValueBigQueryTable.Builder
Returns
TypeDescription
BigQueryKey.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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