Class TableReference.Builder (3.49.0)

public static final class TableReference.Builder extends GeneratedMessageV3.Builder<TableReference.Builder> implements TableReferenceOrBuilder

Message defining the location of a BigQuery table with the projectId inferred from the parent project.

Protobuf type google.privacy.dlp.v2.TableReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public TableReference build()
Returns
Type Description
TableReference

buildPartial()

public TableReference buildPartial()
Returns
Type Description
TableReference

clear()

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

clearDatasetId()

public TableReference.Builder clearDatasetId()

Dataset ID of the table.

string dataset_id = 1;

Returns
Type Description
TableReference.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTableId()

public TableReference.Builder clearTableId()

Name of the table.

string table_id = 2;

Returns
Type Description
TableReference.Builder

This builder for chaining.

clone()

public TableReference.Builder clone()
Returns
Type Description
TableReference.Builder
Overrides

getDatasetId()

public String getDatasetId()

Dataset ID of the table.

string dataset_id = 1;

Returns
Type Description
String

The datasetId.

getDatasetIdBytes()

public ByteString getDatasetIdBytes()

Dataset ID of the table.

string dataset_id = 1;

Returns
Type Description
ByteString

The bytes for datasetId.

getDefaultInstanceForType()

public TableReference getDefaultInstanceForType()
Returns
Type Description
TableReference

getDescriptorForType()

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

getTableId()

public String getTableId()

Name of the table.

string table_id = 2;

Returns
Type Description
String

The tableId.

getTableIdBytes()

public ByteString getTableIdBytes()

Name of the table.

string table_id = 2;

Returns
Type Description
ByteString

The bytes for tableId.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TableReference other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDatasetId(String value)

public TableReference.Builder setDatasetId(String value)

Dataset ID of the table.

string dataset_id = 1;

Parameter
Name Description
value String

The datasetId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setDatasetIdBytes(ByteString value)

public TableReference.Builder setDatasetIdBytes(ByteString value)

Dataset ID of the table.

string dataset_id = 1;

Parameter
Name Description
value ByteString

The bytes for datasetId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setTableId(String value)

public TableReference.Builder setTableId(String value)

Name of the table.

string table_id = 2;

Parameter
Name Description
value String

The tableId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setTableIdBytes(ByteString value)

public TableReference.Builder setTableIdBytes(ByteString value)

Name of the table.

string table_id = 2;

Parameter
Name Description
value ByteString

The bytes for tableId to set.

Returns
Type Description
TableReference.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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