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.GeneratedMessageV3.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.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][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 typegoogle.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
clear
public ExportEvaluatedExamplesOutputConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
getDefaultInstanceForType
public ExportEvaluatedExamplesOutputConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ExportEvaluatedExamplesOutputConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ExportEvaluatedExamplesOutputConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ExportEvaluatedExamplesOutputConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
setField
public ExportEvaluatedExamplesOutputConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
clearField
public ExportEvaluatedExamplesOutputConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
clearOneof
public ExportEvaluatedExamplesOutputConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
setRepeatedField
public ExportEvaluatedExamplesOutputConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
addRepeatedField
public ExportEvaluatedExamplesOutputConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
mergeFrom
public ExportEvaluatedExamplesOutputConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
mergeFrom
public ExportEvaluatedExamplesOutputConfig.Builder mergeFrom(ExportEvaluatedExamplesOutputConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
mergeFrom
public ExportEvaluatedExamplesOutputConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
- Throws:
IOException
-
getDestinationCase
public ExportEvaluatedExamplesOutputConfig.DestinationCase getDestinationCase()
- Specified by:
getDestinationCase
in interfaceExportEvaluatedExamplesOutputConfigOrBuilder
-
clearDestination
public ExportEvaluatedExamplesOutputConfig.Builder 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:
hasBigqueryDestination
in interfaceExportEvaluatedExamplesOutputConfigOrBuilder
- Returns:
- Whether the bigqueryDestination field is set.
-
getBigqueryDestination
public BigQueryDestination getBigqueryDestination()
The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;
- Specified by:
getBigqueryDestination
in 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
public ExportEvaluatedExamplesOutputConfig.Builder clearBigqueryDestination()
The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;
-
getBigqueryDestinationBuilder
public BigQueryDestination.Builder getBigqueryDestinationBuilder()
The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;
-
getBigqueryDestinationOrBuilder
public BigQueryDestinationOrBuilder getBigqueryDestinationOrBuilder()
The BigQuery location where the output is to be written to.
.google.cloud.automl.v1beta1.BigQueryDestination bigquery_destination = 2;
- Specified by:
getBigqueryDestinationOrBuilder
in interfaceExportEvaluatedExamplesOutputConfigOrBuilder
-
setUnknownFields
public final ExportEvaluatedExamplesOutputConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
mergeUnknownFields
public final ExportEvaluatedExamplesOutputConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ExportEvaluatedExamplesOutputConfig.Builder>
-
-