# Class EvaluationJobConfig.Builder (0.213.0)

0.213.0 (latest) 0.211.0 0.208.0 0.207.0 0.205.0 0.203.0 0.202.0 0.201.0 0.200.0 0.198.0 0.196.0 0.195.0 0.194.0 0.193.0 0.192.0 0.190.0 0.188.0 0.187.0 0.184.0 0.183.0 0.182.0 0.180.0 0.179.0 0.178.0 0.177.0 0.176.0 0.175.0 0.174.0 0.173.0 0.172.0 0.171.0 0.169.0 0.168.0 0.167.0 0.166.0 0.165.0 0.164.0 0.163.0 0.162.0 0.161.0 0.160.0 0.159.0 0.157.0 0.156.0 0.155.0 0.154.0 0.153.0 0.152.0 0.151.0 0.150.0 0.149.0 0.148.0 0.147.0 0.144.0 0.143.0 0.142.0 0.141.0 0.140.0 0.139.0 0.138.0 0.137.0 0.136.0 0.135.0 0.134.0 0.133.0 0.132.0 0.131.0 0.129.0 0.128.0 0.127.0 0.126.0 0.125.0 0.124.0 0.123.7 0.122.11

    public static final class EvaluationJobConfig.Builder extends GeneratedMessage.Builder<EvaluationJobConfig.Builder> implements EvaluationJobConfigOrBuilder

Configures specific details of how a continuous evaluation job works. Provide
this configuration when you create an EvaluationJob.

Protobuf type `google.cloud.datalabeling.v1beta1.EvaluationJobConfig`

## Inheritance

[java.lang.Object](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html) \> [AbstractMessageLite.Builder\<MessageType,BuilderType\>](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.Builder.html) \> [AbstractMessage.Builder\<BuilderType\>](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html) \> [GeneratedMessage.Builder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html) \> EvaluationJobConfig.Builder

## Implements

[EvaluationJobConfigOrBuilder](https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfigOrBuilder)

## Inherited Members

[AbstractMessage.Builder.findInitializationErrors()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_findInitializationErrors__) [AbstractMessage.Builder.getInitializationErrorString()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_getInitializationErrorString__) [AbstractMessage.Builder.internalMergeFrom(AbstractMessageLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_internalMergeFrom_com_google_protobuf_AbstractMessageLite_) [AbstractMessage.Builder.mergeFrom(byte\[\])](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_byte___) [AbstractMessage.Builder.mergeFrom(byte\[\],ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_byte___com_google_protobuf_ExtensionRegistryLite_) [AbstractMessage.Builder.mergeFrom(byte\[\],int,int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_byte___int_int_) [AbstractMessage.Builder.mergeFrom(byte\[\],int,int,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_byte___int_int_com_google_protobuf_ExtensionRegistryLite_) [AbstractMessage.Builder.mergeFrom(ByteString)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_com_google_protobuf_ByteString_) [AbstractMessage.Builder.mergeFrom(ByteString,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_com_google_protobuf_ByteString_com_google_protobuf_ExtensionRegistryLite_) [AbstractMessage.Builder.mergeFrom(CodedInputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_com_google_protobuf_CodedInputStream_) [AbstractMessage.Builder.mergeFrom(CodedInputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_com_google_protobuf_CodedInputStream_com_google_protobuf_ExtensionRegistryLite_) [AbstractMessage.Builder.mergeFrom(Message)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_com_google_protobuf_Message_) [AbstractMessage.Builder.mergeFrom(InputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_java_io_InputStream_) [AbstractMessage.Builder.mergeFrom(InputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_java_io_InputStream_com_google_protobuf_ExtensionRegistryLite_) [AbstractMessage.Builder.newUninitializedMessageException(Message)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_newUninitializedMessageException_com_google_protobuf_Message_) [AbstractMessage.Builder.toString()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_toString__) [AbstractMessageLite.Builder.\<T\>addAll(Iterable\<T\>,Collection\<? super T\>)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.Builder.html#com_google_protobuf_AbstractMessageLite_Builder__T_addAll_java_lang_Iterable_T__java_util_Collection___super_T__) [AbstractMessageLite.Builder.\<T\>addAll(Iterable\<T\>,List\<? super T\>)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.Builder.html#com_google_protobuf_AbstractMessageLite_Builder__T_addAll_java_lang_Iterable_T__java_util_List___super_T__) [AbstractMessageLite.Builder.internalMergeFrom(MessageType)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.Builder.html#com_google_protobuf_AbstractMessageLite_Builder_internalMergeFrom_MessageType_) [AbstractMessageLite.Builder.mergeDelimitedFrom(InputStream)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.Builder.html#com_google_protobuf_AbstractMessageLite_Builder_mergeDelimitedFrom_java_io_InputStream_) [AbstractMessageLite.Builder.mergeDelimitedFrom(InputStream,ExtensionRegistryLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.Builder.html#com_google_protobuf_AbstractMessageLite_Builder_mergeDelimitedFrom_java_io_InputStream_com_google_protobuf_ExtensionRegistryLite_) [AbstractMessageLite.Builder.mergeFrom(MessageLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.Builder.html#com_google_protobuf_AbstractMessageLite_Builder_mergeFrom_com_google_protobuf_MessageLite_) [AbstractMessageLite.Builder.newUninitializedMessageException(MessageLite)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessageLite.Builder.html#com_google_protobuf_AbstractMessageLite_Builder_newUninitializedMessageException_com_google_protobuf_MessageLite_) [GeneratedMessage.Builder.addRepeatedField(Descriptors.FieldDescriptor,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_addRepeatedField_com_google_protobuf_Descriptors_FieldDescriptor_java_lang_Object_) [GeneratedMessage.Builder.clear()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_clear__) [GeneratedMessage.Builder.clearField(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_clearField_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.Builder.clearOneof(Descriptors.OneofDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_clearOneof_com_google_protobuf_Descriptors_OneofDescriptor_) [GeneratedMessage.Builder.clone()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_clone__) [GeneratedMessage.Builder.getAllFields()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getAllFields__) [GeneratedMessage.Builder.getDescriptorForType()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getDescriptorForType__) [GeneratedMessage.Builder.getField(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getField_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.Builder.getFieldBuilder(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getFieldBuilder_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.Builder.getOneofFieldDescriptor(Descriptors.OneofDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getOneofFieldDescriptor_com_google_protobuf_Descriptors_OneofDescriptor_) [GeneratedMessage.Builder.getParentForChildren()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getParentForChildren__) [GeneratedMessage.Builder.getRepeatedField(Descriptors.FieldDescriptor,int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getRepeatedField_com_google_protobuf_Descriptors_FieldDescriptor_int_) [GeneratedMessage.Builder.getRepeatedFieldBuilder(Descriptors.FieldDescriptor,int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getRepeatedFieldBuilder_com_google_protobuf_Descriptors_FieldDescriptor_int_) [GeneratedMessage.Builder.getRepeatedFieldCount(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getRepeatedFieldCount_com_google_protobuf_Descriptors_FieldDescriptor_) com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder() [GeneratedMessage.Builder.getUnknownFields()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getUnknownFields__) [GeneratedMessage.Builder.hasField(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_hasField_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.Builder.hasOneof(Descriptors.OneofDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_hasOneof_com_google_protobuf_Descriptors_OneofDescriptor_) [GeneratedMessage.Builder.internalGetFieldAccessorTable()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_internalGetFieldAccessorTable__) [GeneratedMessage.Builder.internalGetMapField(int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_internalGetMapField_int_) com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int) [GeneratedMessage.Builder.internalGetMutableMapField(int)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_internalGetMutableMapField_int_) com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int) [GeneratedMessage.Builder.isClean()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_isClean__) [GeneratedMessage.Builder.isInitialized()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_isInitialized__) [GeneratedMessage.Builder.markClean()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_markClean__) [GeneratedMessage.Builder.mergeUnknownFields(UnknownFieldSet)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_mergeUnknownFields_com_google_protobuf_UnknownFieldSet_) com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int) [GeneratedMessage.Builder.newBuilderForField(Descriptors.FieldDescriptor)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_newBuilderForField_com_google_protobuf_Descriptors_FieldDescriptor_) [GeneratedMessage.Builder.onBuilt()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_onBuilt__) [GeneratedMessage.Builder.onChanged()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_onChanged__) com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) [GeneratedMessage.Builder.setField(Descriptors.FieldDescriptor,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_setField_com_google_protobuf_Descriptors_FieldDescriptor_java_lang_Object_) [GeneratedMessage.Builder.setRepeatedField(Descriptors.FieldDescriptor,int,Object)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_setRepeatedField_com_google_protobuf_Descriptors_FieldDescriptor_int_java_lang_Object_) com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) [GeneratedMessage.Builder.setUnknownFields(UnknownFieldSet)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_setUnknownFields_com_google_protobuf_UnknownFieldSet_) com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet) [Object.equals(Object)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-) [Object.finalize()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--) [Object.getClass()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--) [Object.hashCode()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--) [Object.notify()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--) [Object.notifyAll()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--) [Object.wait()](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--) [Object.wait(long)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-) [Object.wait(long,int)](https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-)

## Static Methods

### getDescriptor()

    public static final Descriptors.Descriptor getDescriptor()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Descriptors.Descriptor.html` |   |

## Methods

### build()

    public EvaluationJobConfig build()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig` |   |

### buildPartial()

    public EvaluationJobConfig buildPartial()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig` |   |

### clear()

    public EvaluationJobConfig.Builder clear()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

**Overrides** [GeneratedMessage.Builder\<BuilderType\>.clear()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_clear__)

### clearBigqueryImportKeys()

    public EvaluationJobConfig.Builder clearBigqueryImportKeys()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### clearBoundingPolyConfig()

    public EvaluationJobConfig.Builder clearBoundingPolyConfig()

Specify this field if your model version performs image object detection
(bounding box detection).

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.

`.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### clearEvaluationConfig()

    public EvaluationJobConfig.Builder clearEvaluationConfig()

Required. Details for calculating evaluation metrics and creating
Evaulations. If your model version performs image object
detection, you must specify the `boundingBoxEvaluationOptions` field within
this configuration. Otherwise, provide an empty object for this
configuration.

`.google.cloud.datalabeling.v1beta1.EvaluationConfig evaluation_config = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### clearEvaluationJobAlertConfig()

    public EvaluationJobConfig.Builder clearEvaluationJobAlertConfig()

Optional. Configuration details for evaluation job alerts. Specify this
field if you want to receive email alerts if the evaluation job finds that
your predictions have low mean average precision during a run.

`
.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig evaluation_job_alert_config = 13;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### clearExampleCount()

    public EvaluationJobConfig.Builder clearExampleCount()

Required. The maximum number of predictions to sample and save to BigQuery
during each evaluation interval. This limit
overrides `example_sample_percentage`: even if the service has not sampled
enough predictions to fulfill `example_sample_perecentage` during an
interval, it stops sampling predictions when it meets this limit.

`int32 example_count = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` | This builder for chaining. |

### clearExampleSamplePercentage()

    public EvaluationJobConfig.Builder clearExampleSamplePercentage()

Required. Fraction of predictions to sample and save to BigQuery during
each evaluation interval. For example, 0.1 means
10% of predictions served by your model version get saved to BigQuery.

`double example_sample_percentage = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` | This builder for chaining. |

### clearHumanAnnotationConfig()

    public EvaluationJobConfig.Builder clearHumanAnnotationConfig()

Optional. Details for human annotation of your data. If you set
labelMissingGroundTruth to
`true` for this evaluation job, then you must specify this field. If you
plan to provide your own ground truth labels, then omit this field.

Note that you must create an Instruction resource before you can
specify this field. Provide the name of the instruction resource in the
`instruction` field within this configuration.

`.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### clearHumanAnnotationRequestConfig()

    public EvaluationJobConfig.Builder clearHumanAnnotationRequestConfig()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### clearImageClassificationConfig()

    public EvaluationJobConfig.Builder clearImageClassificationConfig()

Specify this field if your model version performs image classification or
general classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### clearInputConfig()

    public EvaluationJobConfig.Builder clearInputConfig()

Rquired. Details for the sampled prediction input. Within this
configuration, there are requirements for several fields:

- `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
- `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
- If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`.
- You must specify `bigquerySource` (not `gcsSource`).

`.google.cloud.datalabeling.v1beta1.InputConfig input_config = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### clearTextClassificationConfig()

    public EvaluationJobConfig.Builder clearTextClassificationConfig()

Specify this field if your model version performs text classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 8;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### containsBigqueryImportKeys(String key)

    public boolean containsBigqueryImportKeys(String key)

Required. Prediction keys that tell Data Labeling Service where to find the
data for evaluation in your BigQuery table. When the service samples
prediction input and output from your model version and saves it to
BigQuery, the data gets stored as JSON strings in the BigQuery table. These
keys tell Data Labeling Service how to parse the JSON.

You can provide the following entries in this field:

- `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`.
- `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`.
- `label_json_key`: the label key for prediction output. Required.
- `label_score_json_key`: the score key for prediction output. Required.
- `bounding_box_json_key`: the bounding box key for prediction output.
  Required if your model version perform image object detection.

  Learn [how to configure prediction
  keys](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).

`map<string, string> bigquery_import_keys = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getBigqueryImportKeys() (deprecated)

    public Map<String,String> getBigqueryImportKeys()

Use [#getBigqueryImportKeysMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder#com_google_cloud_datalabeling_v1beta1_EvaluationJobConfig_Builder_getBigqueryImportKeysMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getBigqueryImportKeysCount()

    public int getBigqueryImportKeysCount()

Required. Prediction keys that tell Data Labeling Service where to find the
data for evaluation in your BigQuery table. When the service samples
prediction input and output from your model version and saves it to
BigQuery, the data gets stored as JSON strings in the BigQuery table. These
keys tell Data Labeling Service how to parse the JSON.

You can provide the following entries in this field:

- `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`.
- `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`.
- `label_json_key`: the label key for prediction output. Required.
- `label_score_json_key`: the score key for prediction output. Required.
- `bounding_box_json_key`: the bounding box key for prediction output.
  Required if your model version perform image object detection.

  Learn [how to configure prediction
  keys](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).

`map<string, string> bigquery_import_keys = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getBigqueryImportKeysMap()

    public Map<String,String> getBigqueryImportKeysMap()

Required. Prediction keys that tell Data Labeling Service where to find the
data for evaluation in your BigQuery table. When the service samples
prediction input and output from your model version and saves it to
BigQuery, the data gets stored as JSON strings in the BigQuery table. These
keys tell Data Labeling Service how to parse the JSON.

You can provide the following entries in this field:

- `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`.
- `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`.
- `label_json_key`: the label key for prediction output. Required.
- `label_score_json_key`: the score key for prediction output. Required.
- `bounding_box_json_key`: the bounding box key for prediction output.
  Required if your model version perform image object detection.

  Learn [how to configure prediction
  keys](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).

`map<string, string> bigquery_import_keys = 9;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getBigqueryImportKeysOrDefault(String key, String defaultValue)

    public String getBigqueryImportKeysOrDefault(String key, String defaultValue)

Required. Prediction keys that tell Data Labeling Service where to find the
data for evaluation in your BigQuery table. When the service samples
prediction input and output from your model version and saves it to
BigQuery, the data gets stored as JSON strings in the BigQuery table. These
keys tell Data Labeling Service how to parse the JSON.

You can provide the following entries in this field:

- `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`.
- `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`.
- `label_json_key`: the label key for prediction output. Required.
- `label_score_json_key`: the score key for prediction output. Required.
- `bounding_box_json_key`: the bounding box key for prediction output.
  Required if your model version perform image object detection.

  Learn [how to configure prediction
  keys](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).

`map<string, string> bigquery_import_keys = 9;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getBigqueryImportKeysOrThrow(String key)

    public String getBigqueryImportKeysOrThrow(String key)

Required. Prediction keys that tell Data Labeling Service where to find the
data for evaluation in your BigQuery table. When the service samples
prediction input and output from your model version and saves it to
BigQuery, the data gets stored as JSON strings in the BigQuery table. These
keys tell Data Labeling Service how to parse the JSON.

You can provide the following entries in this field:

- `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`.
- `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`.
- `label_json_key`: the label key for prediction output. Required.
- `label_score_json_key`: the score key for prediction output. Required.
- `bounding_box_json_key`: the bounding box key for prediction output.
  Required if your model version perform image object detection.

  Learn [how to configure prediction
  keys](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).

`map<string, string> bigquery_import_keys = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |   |

### getBoundingPolyConfig()

    public BoundingPolyConfig getBoundingPolyConfig()

Specify this field if your model version performs image object detection
(bounding box detection).

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.

`.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.BoundingPolyConfig` | The boundingPolyConfig. |

### getBoundingPolyConfigBuilder()

    public BoundingPolyConfig.Builder getBoundingPolyConfigBuilder()

Specify this field if your model version performs image object detection
(bounding box detection).

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.

`.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.BoundingPolyConfig.Builder` |   |

### getBoundingPolyConfigOrBuilder()

    public BoundingPolyConfigOrBuilder getBoundingPolyConfigOrBuilder()

Specify this field if your model version performs image object detection
(bounding box detection).

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.

`.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.BoundingPolyConfigOrBuilder` |   |

### getDefaultInstanceForType()

    public EvaluationJobConfig getDefaultInstanceForType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig` |   |

### getDescriptorForType()

    public Descriptors.Descriptor getDescriptorForType()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Descriptors.Descriptor.html` |   |

**Overrides** [GeneratedMessage.Builder\<BuilderType\>.getDescriptorForType()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_getDescriptorForType__)

### getEvaluationConfig()

    public EvaluationConfig getEvaluationConfig()

Required. Details for calculating evaluation metrics and creating
Evaulations. If your model version performs image object
detection, you must specify the `boundingBoxEvaluationOptions` field within
this configuration. Otherwise, provide an empty object for this
configuration.

`.google.cloud.datalabeling.v1beta1.EvaluationConfig evaluation_config = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationConfig` | The evaluationConfig. |

### getEvaluationConfigBuilder()

    public EvaluationConfig.Builder getEvaluationConfigBuilder()

Required. Details for calculating evaluation metrics and creating
Evaulations. If your model version performs image object
detection, you must specify the `boundingBoxEvaluationOptions` field within
this configuration. Otherwise, provide an empty object for this
configuration.

`.google.cloud.datalabeling.v1beta1.EvaluationConfig evaluation_config = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationConfig.Builder` |   |

### getEvaluationConfigOrBuilder()

    public EvaluationConfigOrBuilder getEvaluationConfigOrBuilder()

Required. Details for calculating evaluation metrics and creating
Evaulations. If your model version performs image object
detection, you must specify the `boundingBoxEvaluationOptions` field within
this configuration. Otherwise, provide an empty object for this
configuration.

`.google.cloud.datalabeling.v1beta1.EvaluationConfig evaluation_config = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationConfigOrBuilder` |   |

### getEvaluationJobAlertConfig()

    public EvaluationJobAlertConfig getEvaluationJobAlertConfig()

Optional. Configuration details for evaluation job alerts. Specify this
field if you want to receive email alerts if the evaluation job finds that
your predictions have low mean average precision during a run.

`
.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig evaluation_job_alert_config = 13;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig` | The evaluationJobAlertConfig. |

### getEvaluationJobAlertConfigBuilder()

    public EvaluationJobAlertConfig.Builder getEvaluationJobAlertConfigBuilder()

Optional. Configuration details for evaluation job alerts. Specify this
field if you want to receive email alerts if the evaluation job finds that
your predictions have low mean average precision during a run.

`
.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig evaluation_job_alert_config = 13;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig.Builder` |   |

### getEvaluationJobAlertConfigOrBuilder()

    public EvaluationJobAlertConfigOrBuilder getEvaluationJobAlertConfigOrBuilder()

Optional. Configuration details for evaluation job alerts. Specify this
field if you want to receive email alerts if the evaluation job finds that
your predictions have low mean average precision during a run.

`
.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig evaluation_job_alert_config = 13;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfigOrBuilder` |   |

### getExampleCount()

    public int getExampleCount()

Required. The maximum number of predictions to sample and save to BigQuery
during each evaluation interval. This limit
overrides `example_sample_percentage`: even if the service has not sampled
enough predictions to fulfill `example_sample_perecentage` during an
interval, it stops sampling predictions when it meets this limit.

`int32 example_count = 10;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The exampleCount. |

### getExampleSamplePercentage()

    public double getExampleSamplePercentage()

Required. Fraction of predictions to sample and save to BigQuery during
each evaluation interval. For example, 0.1 means
10% of predictions served by your model version get saved to BigQuery.

`double example_sample_percentage = 11;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The exampleSamplePercentage. |

### getHumanAnnotationConfig()

    public HumanAnnotationConfig getHumanAnnotationConfig()

Optional. Details for human annotation of your data. If you set
labelMissingGroundTruth to
`true` for this evaluation job, then you must specify this field. If you
plan to provide your own ground truth labels, then omit this field.

Note that you must create an Instruction resource before you can
specify this field. Provide the name of the instruction resource in the
`instruction` field within this configuration.

`.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig` | The humanAnnotationConfig. |

### getHumanAnnotationConfigBuilder()

    public HumanAnnotationConfig.Builder getHumanAnnotationConfigBuilder()

Optional. Details for human annotation of your data. If you set
labelMissingGroundTruth to
`true` for this evaluation job, then you must specify this field. If you
plan to provide your own ground truth labels, then omit this field.

Note that you must create an Instruction resource before you can
specify this field. Provide the name of the instruction resource in the
`instruction` field within this configuration.

`.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.Builder` |   |

### getHumanAnnotationConfigOrBuilder()

    public HumanAnnotationConfigOrBuilder getHumanAnnotationConfigOrBuilder()

Optional. Details for human annotation of your data. If you set
labelMissingGroundTruth to
`true` for this evaluation job, then you must specify this field. If you
plan to provide your own ground truth labels, then omit this field.

Note that you must create an Instruction resource before you can
specify this field. Provide the name of the instruction resource in the
`instruction` field within this configuration.

`.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfigOrBuilder` |   |

### getHumanAnnotationRequestConfigCase()

    public EvaluationJobConfig.HumanAnnotationRequestConfigCase getHumanAnnotationRequestConfigCase()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.HumanAnnotationRequestConfigCase` |   |

### getImageClassificationConfig()

    public ImageClassificationConfig getImageClassificationConfig()

Specify this field if your model version performs image classification or
general classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.ImageClassificationConfig` | The imageClassificationConfig. |

### getImageClassificationConfigBuilder()

    public ImageClassificationConfig.Builder getImageClassificationConfigBuilder()

Specify this field if your model version performs image classification or
general classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.ImageClassificationConfig.Builder` |   |

### getImageClassificationConfigOrBuilder()

    public ImageClassificationConfigOrBuilder getImageClassificationConfigOrBuilder()

Specify this field if your model version performs image classification or
general classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.ImageClassificationConfigOrBuilder` |   |

### getInputConfig()

    public InputConfig getInputConfig()

Rquired. Details for the sampled prediction input. Within this
configuration, there are requirements for several fields:

- `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
- `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
- If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`.
- You must specify `bigquerySource` (not `gcsSource`).

`.google.cloud.datalabeling.v1beta1.InputConfig input_config = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.InputConfig` | The inputConfig. |

### getInputConfigBuilder()

    public InputConfig.Builder getInputConfigBuilder()

Rquired. Details for the sampled prediction input. Within this
configuration, there are requirements for several fields:

- `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
- `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
- If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`.
- You must specify `bigquerySource` (not `gcsSource`).

`.google.cloud.datalabeling.v1beta1.InputConfig input_config = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.InputConfig.Builder` |   |

### getInputConfigOrBuilder()

    public InputConfigOrBuilder getInputConfigOrBuilder()

Rquired. Details for the sampled prediction input. Within this
configuration, there are requirements for several fields:

- `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
- `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
- If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`.
- You must specify `bigquerySource` (not `gcsSource`).

`.google.cloud.datalabeling.v1beta1.InputConfig input_config = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.InputConfigOrBuilder` |   |

### getMutableBigqueryImportKeys() (deprecated)

    public Map<String,String> getMutableBigqueryImportKeys()

Use alternate mutation accessors instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getTextClassificationConfig()

    public TextClassificationConfig getTextClassificationConfig()

Specify this field if your model version performs text classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 8;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.TextClassificationConfig` | The textClassificationConfig. |

### getTextClassificationConfigBuilder()

    public TextClassificationConfig.Builder getTextClassificationConfigBuilder()

Specify this field if your model version performs text classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 8;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.TextClassificationConfig.Builder` |   |

### getTextClassificationConfigOrBuilder()

    public TextClassificationConfigOrBuilder getTextClassificationConfigOrBuilder()

Specify this field if your model version performs text classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 8;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.TextClassificationConfigOrBuilder` |   |

### hasBoundingPolyConfig()

    public boolean hasBoundingPolyConfig()

Specify this field if your model version performs image object detection
(bounding box detection).

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.

`.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the boundingPolyConfig field is set. |

### hasEvaluationConfig()

    public boolean hasEvaluationConfig()

Required. Details for calculating evaluation metrics and creating
Evaulations. If your model version performs image object
detection, you must specify the `boundingBoxEvaluationOptions` field within
this configuration. Otherwise, provide an empty object for this
configuration.

`.google.cloud.datalabeling.v1beta1.EvaluationConfig evaluation_config = 2;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the evaluationConfig field is set. |

### hasEvaluationJobAlertConfig()

    public boolean hasEvaluationJobAlertConfig()

Optional. Configuration details for evaluation job alerts. Specify this
field if you want to receive email alerts if the evaluation job finds that
your predictions have low mean average precision during a run.

`
.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig evaluation_job_alert_config = 13;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the evaluationJobAlertConfig field is set. |

### hasHumanAnnotationConfig()

    public boolean hasHumanAnnotationConfig()

Optional. Details for human annotation of your data. If you set
labelMissingGroundTruth to
`true` for this evaluation job, then you must specify this field. If you
plan to provide your own ground truth labels, then omit this field.

Note that you must create an Instruction resource before you can
specify this field. Provide the name of the instruction resource in the
`instruction` field within this configuration.

`.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 3;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the humanAnnotationConfig field is set. |

### hasImageClassificationConfig()

    public boolean hasImageClassificationConfig()

Specify this field if your model version performs image classification or
general classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the imageClassificationConfig field is set. |

### hasInputConfig()

    public boolean hasInputConfig()

Rquired. Details for the sampled prediction input. Within this
configuration, there are requirements for several fields:

- `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
- `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
- If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`.
- You must specify `bigquerySource` (not `gcsSource`).

`.google.cloud.datalabeling.v1beta1.InputConfig input_config = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the inputConfig field is set. |

### hasTextClassificationConfig()

    public boolean hasTextClassificationConfig()

Specify this field if your model version performs text classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 8;
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the textClassificationConfig field is set. |

### internalGetFieldAccessorTable()

    protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.FieldAccessorTable.html` |   |

**Overrides** [GeneratedMessage.Builder\<BuilderType\>.internalGetFieldAccessorTable()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_internalGetFieldAccessorTable__)

### internalGetMapFieldReflection(int number)

    protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `number` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.protobuf.MapFieldReflectionAccessor` |   |

**Overrides** com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

### internalGetMutableMapFieldReflection(int number)

    protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `number` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `com.google.protobuf.MapFieldReflectionAccessor` |   |

**Overrides** com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

### isInitialized()

    public final boolean isInitialized()

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

**Overrides** [GeneratedMessage.Builder\<BuilderType\>.isInitialized()](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.GeneratedMessage.Builder.html#com_google_protobuf_GeneratedMessage_Builder_isInitialized__)

### mergeBoundingPolyConfig(BoundingPolyConfig value)

    public EvaluationJobConfig.Builder mergeBoundingPolyConfig(BoundingPolyConfig value)

Specify this field if your model version performs image object detection
(bounding box detection).

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.

`.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.BoundingPolyConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### mergeEvaluationConfig(EvaluationConfig value)

    public EvaluationJobConfig.Builder mergeEvaluationConfig(EvaluationConfig value)

Required. Details for calculating evaluation metrics and creating
Evaulations. If your model version performs image object
detection, you must specify the `boundingBoxEvaluationOptions` field within
this configuration. Otherwise, provide an empty object for this
configuration.

`.google.cloud.datalabeling.v1beta1.EvaluationConfig evaluation_config = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### mergeEvaluationJobAlertConfig(EvaluationJobAlertConfig value)

    public EvaluationJobConfig.Builder mergeEvaluationJobAlertConfig(EvaluationJobAlertConfig value)

Optional. Configuration details for evaluation job alerts. Specify this
field if you want to receive email alerts if the evaluation job finds that
your predictions have low mean average precision during a run.

`
.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig evaluation_job_alert_config = 13;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### mergeFrom(EvaluationJobConfig other)

    public EvaluationJobConfig.Builder mergeFrom(EvaluationJobConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

    public EvaluationJobConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `input` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.CodedInputStream.html` |
| `extensionRegistry` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ExtensionRegistryLite.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

**Overrides** [AbstractMessage.Builder\<BuilderType\>.mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_com_google_protobuf_CodedInputStream_com_google_protobuf_ExtensionRegistryLite_)

| **Exceptions** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html` |   |

### mergeFrom(Message other)

    public EvaluationJobConfig.Builder mergeFrom(Message other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.Message.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

**Overrides** [AbstractMessage.Builder\<BuilderType\>.mergeFrom(Message other)](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.AbstractMessage.Builder.html#com_google_protobuf_AbstractMessage_Builder_mergeFrom_com_google_protobuf_Message_)

### mergeHumanAnnotationConfig(HumanAnnotationConfig value)

    public EvaluationJobConfig.Builder mergeHumanAnnotationConfig(HumanAnnotationConfig value)

Optional. Details for human annotation of your data. If you set
labelMissingGroundTruth to
`true` for this evaluation job, then you must specify this field. If you
plan to provide your own ground truth labels, then omit this field.

Note that you must create an Instruction resource before you can
specify this field. Provide the name of the instruction resource in the
`instruction` field within this configuration.

`.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 3;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### mergeImageClassificationConfig(ImageClassificationConfig value)

    public EvaluationJobConfig.Builder mergeImageClassificationConfig(ImageClassificationConfig value)

Specify this field if your model version performs image classification or
general classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.ImageClassificationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### mergeInputConfig(InputConfig value)

    public EvaluationJobConfig.Builder mergeInputConfig(InputConfig value)

Rquired. Details for the sampled prediction input. Within this
configuration, there are requirements for several fields:

- `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
- `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
- If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`.
- You must specify `bigquerySource` (not `gcsSource`).

`.google.cloud.datalabeling.v1beta1.InputConfig input_config = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.InputConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### mergeTextClassificationConfig(TextClassificationConfig value)

    public EvaluationJobConfig.Builder mergeTextClassificationConfig(TextClassificationConfig value)

Specify this field if your model version performs text classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 8;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.TextClassificationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### putAllBigqueryImportKeys(Map\<String,String\> values)

    public EvaluationJobConfig.Builder putAllBigqueryImportKeys(Map<String,String> values)

Required. Prediction keys that tell Data Labeling Service where to find the
data for evaluation in your BigQuery table. When the service samples
prediction input and output from your model version and saves it to
BigQuery, the data gets stored as JSON strings in the BigQuery table. These
keys tell Data Labeling Service how to parse the JSON.

You can provide the following entries in this field:

- `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`.
- `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`.
- `label_json_key`: the label key for prediction output. Required.
- `label_score_json_key`: the score key for prediction output. Required.
- `bounding_box_json_key`: the bounding box key for prediction output.
  Required if your model version perform image object detection.

  Learn [how to configure prediction
  keys](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).

`map<string, string> bigquery_import_keys = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `values` | `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### putBigqueryImportKeys(String key, String value)

    public EvaluationJobConfig.Builder putBigqueryImportKeys(String key, String value)

Required. Prediction keys that tell Data Labeling Service where to find the
data for evaluation in your BigQuery table. When the service samples
prediction input and output from your model version and saves it to
BigQuery, the data gets stored as JSON strings in the BigQuery table. These
keys tell Data Labeling Service how to parse the JSON.

You can provide the following entries in this field:

- `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`.
- `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`.
- `label_json_key`: the label key for prediction output. Required.
- `label_score_json_key`: the score key for prediction output. Required.
- `bounding_box_json_key`: the bounding box key for prediction output.
  Required if your model version perform image object detection.

  Learn [how to configure prediction
  keys](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).

`map<string, string> bigquery_import_keys = 9;`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `value` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### removeBigqueryImportKeys(String key)

    public EvaluationJobConfig.Builder removeBigqueryImportKeys(String key)

Required. Prediction keys that tell Data Labeling Service where to find the
data for evaluation in your BigQuery table. When the service samples
prediction input and output from your model version and saves it to
BigQuery, the data gets stored as JSON strings in the BigQuery table. These
keys tell Data Labeling Service how to parse the JSON.

You can provide the following entries in this field:

- `data_json_key`: the data key for prediction input. You must provide either this key or `reference_json_key`.
- `reference_json_key`: the data reference key for prediction input. You must provide either this key or `data_json_key`.
- `label_json_key`: the label key for prediction output. Required.
- `label_score_json_key`: the score key for prediction output. Required.
- `bounding_box_json_key`: the bounding box key for prediction output.
  Required if your model version perform image object detection.

  Learn [how to configure prediction
  keys](https://docs.cloud.google.com/ml-engine/docs/continuous-evaluation/create-job#prediction-keys).

`map<string, string> bigquery_import_keys = 9;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setBoundingPolyConfig(BoundingPolyConfig value)

    public EvaluationJobConfig.Builder setBoundingPolyConfig(BoundingPolyConfig value)

Specify this field if your model version performs image object detection
(bounding box detection).

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.

`.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.BoundingPolyConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setBoundingPolyConfig(BoundingPolyConfig.Builder builderForValue)

    public EvaluationJobConfig.Builder setBoundingPolyConfig(BoundingPolyConfig.Builder builderForValue)

Specify this field if your model version performs image object detection
(bounding box detection).

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.

`.google.cloud.datalabeling.v1beta1.BoundingPolyConfig bounding_poly_config = 5;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `builderForValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.BoundingPolyConfig.Builder` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setEvaluationConfig(EvaluationConfig value)

    public EvaluationJobConfig.Builder setEvaluationConfig(EvaluationConfig value)

Required. Details for calculating evaluation metrics and creating
Evaulations. If your model version performs image object
detection, you must specify the `boundingBoxEvaluationOptions` field within
this configuration. Otherwise, provide an empty object for this
configuration.

`.google.cloud.datalabeling.v1beta1.EvaluationConfig evaluation_config = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setEvaluationConfig(EvaluationConfig.Builder builderForValue)

    public EvaluationJobConfig.Builder setEvaluationConfig(EvaluationConfig.Builder builderForValue)

Required. Details for calculating evaluation metrics and creating
Evaulations. If your model version performs image object
detection, you must specify the `boundingBoxEvaluationOptions` field within
this configuration. Otherwise, provide an empty object for this
configuration.

`.google.cloud.datalabeling.v1beta1.EvaluationConfig evaluation_config = 2;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `builderForValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationConfig.Builder` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setEvaluationJobAlertConfig(EvaluationJobAlertConfig value)

    public EvaluationJobConfig.Builder setEvaluationJobAlertConfig(EvaluationJobAlertConfig value)

Optional. Configuration details for evaluation job alerts. Specify this
field if you want to receive email alerts if the evaluation job finds that
your predictions have low mean average precision during a run.

`
.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig evaluation_job_alert_config = 13;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setEvaluationJobAlertConfig(EvaluationJobAlertConfig.Builder builderForValue)

    public EvaluationJobConfig.Builder setEvaluationJobAlertConfig(EvaluationJobAlertConfig.Builder builderForValue)

Optional. Configuration details for evaluation job alerts. Specify this
field if you want to receive email alerts if the evaluation job finds that
your predictions have low mean average precision during a run.

`
.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig evaluation_job_alert_config = 13;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `builderForValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobAlertConfig.Builder` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setExampleCount(int value)

    public EvaluationJobConfig.Builder setExampleCount(int value)

Required. The maximum number of predictions to sample and save to BigQuery
during each evaluation interval. This limit
overrides `example_sample_percentage`: even if the service has not sampled
enough predictions to fulfill `example_sample_perecentage` during an
interval, it stops sampling predictions when it meets this limit.

`int32 example_count = 10;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The exampleCount to set. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` | This builder for chaining. |

### setExampleSamplePercentage(double value)

    public EvaluationJobConfig.Builder setExampleSamplePercentage(double value)

Required. Fraction of predictions to sample and save to BigQuery during
each evaluation interval. For example, 0.1 means
10% of predictions served by your model version get saved to BigQuery.

`double example_sample_percentage = 11;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The exampleSamplePercentage to set. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` | This builder for chaining. |

### setHumanAnnotationConfig(HumanAnnotationConfig value)

    public EvaluationJobConfig.Builder setHumanAnnotationConfig(HumanAnnotationConfig value)

Optional. Details for human annotation of your data. If you set
labelMissingGroundTruth to
`true` for this evaluation job, then you must specify this field. If you
plan to provide your own ground truth labels, then omit this field.

Note that you must create an Instruction resource before you can
specify this field. Provide the name of the instruction resource in the
`instruction` field within this configuration.

`.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 3;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setHumanAnnotationConfig(HumanAnnotationConfig.Builder builderForValue)

    public EvaluationJobConfig.Builder setHumanAnnotationConfig(HumanAnnotationConfig.Builder builderForValue)

Optional. Details for human annotation of your data. If you set
labelMissingGroundTruth to
`true` for this evaluation job, then you must specify this field. If you
plan to provide your own ground truth labels, then omit this field.

Note that you must create an Instruction resource before you can
specify this field. Provide the name of the instruction resource in the
`instruction` field within this configuration.

`.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig human_annotation_config = 3;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `builderForValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.HumanAnnotationConfig.Builder` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setImageClassificationConfig(ImageClassificationConfig value)

    public EvaluationJobConfig.Builder setImageClassificationConfig(ImageClassificationConfig value)

Specify this field if your model version performs image classification or
general classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.ImageClassificationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setImageClassificationConfig(ImageClassificationConfig.Builder builderForValue)

    public EvaluationJobConfig.Builder setImageClassificationConfig(ImageClassificationConfig.Builder builderForValue)

Specify this field if your model version performs image classification or
general classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.ImageClassificationConfig image_classification_config = 4;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `builderForValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.ImageClassificationConfig.Builder` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setInputConfig(InputConfig value)

    public EvaluationJobConfig.Builder setInputConfig(InputConfig value)

Rquired. Details for the sampled prediction input. Within this
configuration, there are requirements for several fields:

- `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
- `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
- If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`.
- You must specify `bigquerySource` (not `gcsSource`).

`.google.cloud.datalabeling.v1beta1.InputConfig input_config = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.InputConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setInputConfig(InputConfig.Builder builderForValue)

    public EvaluationJobConfig.Builder setInputConfig(InputConfig.Builder builderForValue)

Rquired. Details for the sampled prediction input. Within this
configuration, there are requirements for several fields:

- `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`.
- `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection).
- If your machine learning model performs classification, you must specify `classificationMetadata.isMultiLabel`.
- You must specify `bigquerySource` (not `gcsSource`).

`.google.cloud.datalabeling.v1beta1.InputConfig input_config = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `builderForValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.InputConfig.Builder` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setTextClassificationConfig(TextClassificationConfig value)

    public EvaluationJobConfig.Builder setTextClassificationConfig(TextClassificationConfig value)

Specify this field if your model version performs text classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 8;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.TextClassificationConfig` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |

### setTextClassificationConfig(TextClassificationConfig.Builder builderForValue)

    public EvaluationJobConfig.Builder setTextClassificationConfig(TextClassificationConfig.Builder builderForValue)

Specify this field if your model version performs text classification.

`annotationSpecSet` in this configuration must match
EvaluationJob.annotationSpecSet.
`allowMultiLabel` in this configuration must match
`classificationMetadata.isMultiLabel` in input_config.

`
.google.cloud.datalabeling.v1beta1.TextClassificationConfig text_classification_config = 8;
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `builderForValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.TextClassificationConfig.Builder` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-datalabeling/latest/com.google.cloud.datalabeling.v1beta1.EvaluationJobConfig.Builder` |   |