Class ExportEvaluatedExamplesOutputConfig (2.47.0)

public final class ExportEvaluatedExamplesOutputConfig extends GeneratedMessageV3 implements ExportEvaluatedExamplesOutputConfigOrBuilder

Output configuration for ExportEvaluatedExamples Action. Note that this call is available only for 30 days since the moment the model was evaluated. The output depends on the domain, as follows (note that only examples from the TEST set are exported):

  • For Tables:

    bigquery_destination pointing to a BigQuery project must be set. In the given project a new dataset will be created with name

    export_evaluated_examples_<model-display-name>_<timestamp-of-export-call> where <model-display-name> will be made BigQuery-dataset-name compatible (e.g. most special characters will become underscores), and timestamp will be in YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset an evaluated_examples table will be created. It will have all the same columns as the

    primary_table of the dataset from which the model was created, as they were at the moment of model's evaluation (this includes the target column with its ground truth), followed by a column called "predicted_<target_column>". That last column will contain the model's prediction result for each respective row, given as ARRAY of AnnotationPayloads, represented as STRUCT-s, containing TablesAnnotation.

Protobuf type google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExportEvaluatedExamplesOutputConfig

Static Fields

BIGQUERY_DESTINATION_FIELD_NUMBER

public static final int BIGQUERY_DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExportEvaluatedExamplesOutputConfig getDefaultInstance()
Returns
Type Description
ExportEvaluatedExamplesOutputConfig

getDescriptor()

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

newBuilder()

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

newBuilder(ExportEvaluatedExamplesOutputConfig prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBigqueryDestination()

public BigQueryDestination getBigqueryDestination()

The BigQuery location where the output is to be written to.

.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;

Returns
Type Description
BigQueryDestination

The bigqueryDestination.

getBigqueryDestinationOrBuilder()

public BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()

The BigQuery location where the output is to be written to.

.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;

Returns
Type Description
BigQueryDestinationOrBuilder

getDefaultInstanceForType()

public ExportEvaluatedExamplesOutputConfig getDefaultInstanceForType()
Returns
Type Description
ExportEvaluatedExamplesOutputConfig

getDestinationCase()

public ExportEvaluatedExamplesOutputConfig.DestinationCase getDestinationCase()
Returns
Type Description
ExportEvaluatedExamplesOutputConfig.DestinationCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasBigqueryDestination()

public boolean hasBigqueryDestination()

The BigQuery location where the output is to be written to.

.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;

Returns
Type Description
boolean

Whether the bigqueryDestination field is set.

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 ExportEvaluatedExamplesOutputConfig.Builder newBuilderForType()
Returns
Type Description
ExportEvaluatedExamplesOutputConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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