Class ExportEvaluatedExamplesOutputConfig.Builder (2.5.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportEvaluatedExamplesOutputConfig build()
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig

buildPartial()

public ExportEvaluatedExamplesOutputConfig buildPartial()
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig

clear()

public ExportEvaluatedExamplesOutputConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder

clearDestination()

public ExportEvaluatedExamplesOutputConfig.Builder clearDestination()
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public ExportEvaluatedExamplesOutputConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public ExportEvaluatedExamplesOutputConfig getDefaultInstanceForType()
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDestinationCase()

public ExportEvaluatedExamplesOutputConfig.DestinationCase getDestinationCase()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the bigqueryDestination field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueBigQueryDestination
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder

mergeFrom(ExportEvaluatedExamplesOutputConfig other)

public ExportEvaluatedExamplesOutputConfig.Builder mergeFrom(ExportEvaluatedExamplesOutputConfig other)
Parameter
NameDescription
otherExportEvaluatedExamplesOutputConfig
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ExportEvaluatedExamplesOutputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueBigQueryDestination
Returns
TypeDescription
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
NameDescription
builderForValueBigQueryDestination.Builder
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ExportEvaluatedExamplesOutputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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