Class BigQuerySource.Builder (0.123.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BigQuerySource build()
Returns
TypeDescription
BigQuerySource

buildPartial()

public BigQuerySource buildPartial()
Returns
TypeDescription
BigQuerySource

clear()

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

clearField(Descriptors.FieldDescriptor field)

public BigQuerySource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
BigQuerySource.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public BigQuerySource getDefaultInstanceForType()
Returns
TypeDescription
BigQuerySource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for inputUri.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BigQuerySource other)

public BigQuerySource.Builder mergeFrom(BigQuerySource other)
Parameter
NameDescription
otherBigQuerySource
Returns
TypeDescription
BigQuerySource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public BigQuerySource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The inputUri to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for inputUri to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BigQuerySource.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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