Class BigQuerySource (0.165.0)

public final class BigQuerySource extends GeneratedMessageV3 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 Fields

INPUT_URI_FIELD_NUMBER

public static final int INPUT_URI_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BigQuerySource getDefaultInstance()
Returns
Type Description
BigQuerySource

getDescriptor()

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

newBuilder()

public static BigQuerySource.Builder newBuilder()
Returns
Type Description
BigQuerySource.Builder

newBuilder(BigQuerySource prototype)

public static BigQuerySource.Builder newBuilder(BigQuerySource prototype)
Parameter
Name Description
prototype BigQuerySource
Returns
Type Description
BigQuerySource.Builder

parseDelimitedFrom(InputStream input)

public static BigQuerySource parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQuerySource
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQuerySource parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQuerySource
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BigQuerySource parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BigQuerySource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BigQuerySource parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQuerySource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BigQuerySource parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BigQuerySource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BigQuerySource parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQuerySource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BigQuerySource parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BigQuerySource
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQuerySource parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQuerySource
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BigQuerySource parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BigQuerySource
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BigQuerySource parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQuerySource
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BigQuerySource parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BigQuerySource
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BigQuerySource parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BigQuerySource
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BigQuerySource> parser()
Returns
Type Description
Parser<BigQuerySource>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BigQuerySource getDefaultInstanceForType()
Returns
Type Description
BigQuerySource

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.

getParserForType()

public Parser<BigQuerySource> getParserForType()
Returns
Type Description
Parser<BigQuerySource>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BigQuerySource.Builder newBuilderForType()
Returns
Type Description
BigQuerySource.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BigQuerySource.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BigQuerySource.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BigQuerySource.Builder toBuilder()
Returns
Type Description
BigQuerySource.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException