Class ExportEvaluatedExamplesOutputConfig.Builder (2.45.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportEvaluatedExamplesOutputConfig build()
Returns
Type Description
ExportEvaluatedExamplesOutputConfig

buildPartial()

public ExportEvaluatedExamplesOutputConfig buildPartial()
Returns
Type Description
ExportEvaluatedExamplesOutputConfig

clear()

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

clearBigqueryDestination()

public ExportEvaluatedExamplesOutputConfig.Builder clearBigqueryDestination()

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

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

Returns
Type Description
ExportEvaluatedExamplesOutputConfig.Builder

clearDestination()

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

clearField(Descriptors.FieldDescriptor field)

public ExportEvaluatedExamplesOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ExportEvaluatedExamplesOutputConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBigqueryDestinationBuilder()

public BigQueryDestination.Builder getBigqueryDestinationBuilder()

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

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

Returns
Type Description
BigQueryDestination.Builder

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

getDescriptorForType()

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

getDestinationCase()

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

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeBigqueryDestination(BigQueryDestination value)

public ExportEvaluatedExamplesOutputConfig.Builder mergeBigqueryDestination(BigQueryDestination value)

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

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

Parameter
Name Description
value BigQueryDestination
Returns
Type Description
ExportEvaluatedExamplesOutputConfig.Builder

mergeFrom(ExportEvaluatedExamplesOutputConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBigqueryDestination(BigQueryDestination value)

public ExportEvaluatedExamplesOutputConfig.Builder setBigqueryDestination(BigQueryDestination value)

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

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

Parameter
Name Description
value BigQueryDestination
Returns
Type Description
ExportEvaluatedExamplesOutputConfig.Builder

setBigqueryDestination(BigQueryDestination.Builder builderForValue)

public ExportEvaluatedExamplesOutputConfig.Builder setBigqueryDestination(BigQueryDestination.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue BigQueryDestination.Builder
Returns
Type Description
ExportEvaluatedExamplesOutputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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