Class BigQuerySource.Builder (0.203.0)

public static final class BigQuerySource.Builder extends GeneratedMessage.Builder<BigQuerySource.Builder> implements BigQuerySourceOrBuilder

The BigQuery location for input data. If used in an EvaluationJob, this is where the service saves the prediction input and output sampled from the model version.

Protobuf type google.cloud.datalabeling.v1beta1.BigQuerySource

Static Methods

getDescriptor()

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

Methods

build()

public BigQuerySource build()
Returns
Type Description
BigQuerySource

buildPartial()

public BigQuerySource buildPartial()
Returns
Type Description
BigQuerySource

clear()

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

clearInputUri()

public BigQuerySource.Builder clearInputUri()

Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema.

Provide the table URI in the following format:

"bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"

Learn more.

string input_uri = 1;

Returns
Type Description
BigQuerySource.Builder

This builder for chaining.

getDefaultInstanceForType()

public BigQuerySource getDefaultInstanceForType()
Returns
Type Description
BigQuerySource

getDescriptorForType()

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

getInputUri()

public String getInputUri()

Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema.

Provide the table URI in the following format:

"bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"

Learn more.

string input_uri = 1;

Returns
Type Description
String

The inputUri.

getInputUriBytes()

public ByteString getInputUriBytes()

Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema.

Provide the table URI in the following format:

"bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"

Learn more.

string input_uri = 1;

Returns
Type Description
ByteString

The bytes for inputUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BigQuerySource other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setInputUri(String value)

public BigQuerySource.Builder setInputUri(String value)

Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema.

Provide the table URI in the following format:

"bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"

Learn more.

string input_uri = 1;

Parameter
Name Description
value String

The inputUri to set.

Returns
Type Description
BigQuerySource.Builder

This builder for chaining.

setInputUriBytes(ByteString value)

public BigQuerySource.Builder setInputUriBytes(ByteString value)

Required. BigQuery URI to a table, up to 2,000 characters long. If you specify the URI of a table that does not exist, Data Labeling Service creates a table at the URI with the correct schema when you create your EvaluationJob. If you specify the URI of a table that already exists, it must have the correct schema.

Provide the table URI in the following format:

"bq://<var>{your_project_id}</var>/<var>{your_dataset_name}</var>/<var>{your_table_name}</var>"

Learn more.

string input_uri = 1;

Parameter
Name Description
value ByteString

The bytes for inputUri to set.

Returns
Type Description
BigQuerySource.Builder

This builder for chaining.