Class ExportEvaluatedExamplesOutputConfig (2.40.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExportEvaluatedExamplesOutputConfig getDefaultInstance()
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExportEvaluatedExamplesOutputConfig.Builder newBuilder()
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder

newBuilder(ExportEvaluatedExamplesOutputConfig prototype)

public static ExportEvaluatedExamplesOutputConfig.Builder newBuilder(ExportEvaluatedExamplesOutputConfig prototype)
Parameter
NameDescription
prototypeExportEvaluatedExamplesOutputConfig
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder

parseDelimitedFrom(InputStream input)

public static ExportEvaluatedExamplesOutputConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluatedExamplesOutputConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExportEvaluatedExamplesOutputConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluatedExamplesOutputConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExportEvaluatedExamplesOutputConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluatedExamplesOutputConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExportEvaluatedExamplesOutputConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluatedExamplesOutputConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExportEvaluatedExamplesOutputConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluatedExamplesOutputConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExportEvaluatedExamplesOutputConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExportEvaluatedExamplesOutputConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ExportEvaluatedExamplesOutputConfig> parser()
Returns
TypeDescription
Parser<ExportEvaluatedExamplesOutputConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
BigQueryDestinationOrBuilder

getDefaultInstanceForType()

public ExportEvaluatedExamplesOutputConfig getDefaultInstanceForType()
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig

getDestinationCase()

public ExportEvaluatedExamplesOutputConfig.DestinationCase getDestinationCase()
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.DestinationCase

getParserForType()

public Parser<ExportEvaluatedExamplesOutputConfig> getParserForType()
Returns
TypeDescription
Parser<ExportEvaluatedExamplesOutputConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the bigqueryDestination field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExportEvaluatedExamplesOutputConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ExportEvaluatedExamplesOutputConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException