Class BigQuerySource.Builder (0.175.0)

public static final class BigQuerySource.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public BigQuerySource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BigQuerySource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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