Package com.google.cloud.automl.v1beta1
Class ExportEvaluatedExamplesOutputConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
com.google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig.Builder
- All Implemented Interfaces:
ExportEvaluatedExamplesOutputConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ExportEvaluatedExamplesOutputConfig
public static final class ExportEvaluatedExamplesOutputConfig.Builder
extends com.google.protobuf.GeneratedMessage.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][google.cloud.automl.v1beta1.OutputConfig.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][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id] of the [dataset][google.cloud.automl.v1beta1.Model.dataset_id] 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][google.cloud.automl.v1beta1.AnnotationPayload], represented as STRUCT-s, containing [TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation].Protobuf type
google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The BigQuery location where the output is to be written to.The BigQuery location where the output is to be written to.The BigQuery location where the output is to be written to.The BigQuery location where the output is to be written to.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanThe BigQuery location where the output is to be written to.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanThe BigQuery location where the output is to be written to.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) The BigQuery location where the output is to be written to.setBigqueryDestination(BigQueryDestination.Builder builderForValue) The BigQuery location where the output is to be written to.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
mergeFrom
public ExportEvaluatedExamplesOutputConfig.Builder mergeFrom(ExportEvaluatedExamplesOutputConfig other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
mergeFrom
public ExportEvaluatedExamplesOutputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>- Throws:
IOException
-
getDestinationCase
- Specified by:
getDestinationCasein interfaceExportEvaluatedExamplesOutputConfigOrBuilder
-
clearDestination
-
hasBigqueryDestination
public boolean hasBigqueryDestination()The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;- Specified by:
hasBigqueryDestinationin interfaceExportEvaluatedExamplesOutputConfigOrBuilder- Returns:
- Whether the bigqueryDestination field is set.
-
getBigqueryDestination
The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;- Specified by:
getBigqueryDestinationin interfaceExportEvaluatedExamplesOutputConfigOrBuilder- Returns:
- The bigqueryDestination.
-
setBigqueryDestination
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; -
setBigqueryDestination
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; -
mergeBigqueryDestination
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; -
clearBigqueryDestination
The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2; -
getBigqueryDestinationBuilder
The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2; -
getBigqueryDestinationOrBuilder
The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;- Specified by:
getBigqueryDestinationOrBuilderin interfaceExportEvaluatedExamplesOutputConfigOrBuilder
-