// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/automl/v1beta1/model_evaluation.proto

package com.google.cloud.automl.v1beta1;

public interface ModelEvaluationOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.cloud.automl.v1beta1.ModelEvaluation)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * Evaluation metrics for models on classification problems models.
   * </pre>
   *
   * <code>.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;</code>
   */
  boolean hasClassificationEvaluationMetrics();
  /**
   * <pre>
   * Evaluation metrics for models on classification problems models.
   * </pre>
   *
   * <code>.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;</code>
   */
  com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetrics getClassificationEvaluationMetrics();
  /**
   * <pre>
   * Evaluation metrics for models on classification problems models.
   * </pre>
   *
   * <code>.google.cloud.automl.v1beta1.ClassificationEvaluationMetrics classification_evaluation_metrics = 8;</code>
   */
  com.google.cloud.automl.v1beta1.ClassificationProto.ClassificationEvaluationMetricsOrBuilder getClassificationEvaluationMetricsOrBuilder();

  /**
   * <pre>
   * Evaluation metrics for models on translation models.
   * </pre>
   *
   * <code>.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;</code>
   */
  boolean hasTranslationEvaluationMetrics();
  /**
   * <pre>
   * Evaluation metrics for models on translation models.
   * </pre>
   *
   * <code>.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;</code>
   */
  com.google.cloud.automl.v1beta1.TranslationEvaluationMetrics getTranslationEvaluationMetrics();
  /**
   * <pre>
   * Evaluation metrics for models on translation models.
   * </pre>
   *
   * <code>.google.cloud.automl.v1beta1.TranslationEvaluationMetrics translation_evaluation_metrics = 9;</code>
   */
  com.google.cloud.automl.v1beta1.TranslationEvaluationMetricsOrBuilder getTranslationEvaluationMetricsOrBuilder();

  /**
   * <pre>
   * Output only.
   * Resource name of the model evaluation.
   * Format:
   * `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  java.lang.String getName();
  /**
   * <pre>
   * Output only.
   * Resource name of the model evaluation.
   * Format:
   * `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}`
   * </pre>
   *
   * <code>string name = 1;</code>
   */
  com.google.protobuf.ByteString
      getNameBytes();

  /**
   * <pre>
   * Output only.
   * The ID of the annotation spec that the model evaluation applies to. The
   * ID is empty for overall model evaluation.
   * NOTE: Currently there is no way to obtain the display_name of the
   * annotation spec from its ID. To see the display_names, review the model
   * evaluations in the UI.
   * </pre>
   *
   * <code>string annotation_spec_id = 2;</code>
   */
  java.lang.String getAnnotationSpecId();
  /**
   * <pre>
   * Output only.
   * The ID of the annotation spec that the model evaluation applies to. The
   * ID is empty for overall model evaluation.
   * NOTE: Currently there is no way to obtain the display_name of the
   * annotation spec from its ID. To see the display_names, review the model
   * evaluations in the UI.
   * </pre>
   *
   * <code>string annotation_spec_id = 2;</code>
   */
  com.google.protobuf.ByteString
      getAnnotationSpecIdBytes();

  /**
   * <pre>
   * Output only.
   * Timestamp when this model evaluation was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5;</code>
   */
  boolean hasCreateTime();
  /**
   * <pre>
   * Output only.
   * Timestamp when this model evaluation was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5;</code>
   */
  com.google.protobuf.Timestamp getCreateTime();
  /**
   * <pre>
   * Output only.
   * Timestamp when this model evaluation was created.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp create_time = 5;</code>
   */
  com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder();

  /**
   * <pre>
   * Output only. The number of examples used for model evaluation.
   * </pre>
   *
   * <code>int32 evaluated_example_count = 6;</code>
   */
  int getEvaluatedExampleCount();

  public com.google.cloud.automl.v1beta1.ModelEvaluation.MetricsCase getMetricsCase();
}
