Interface EvaluationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Evaluation, Evaluation.Builder

@Generated public interface EvaluationOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Output only. Resource name of an evaluation. The name has the following
       format:
      
       "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Output only. Resource name of an evaluation. The name has the following
       format:
      
       "projects/<var>{project_id}</var>/datasets/<var>{dataset_id}</var>/evaluations/<var>{evaluation_id</var>}'
       
      string name = 1;
      Returns:
      The bytes for name.
    • hasConfig

      boolean hasConfig()
       Output only. Options used in the evaluation job that created this
       evaluation.
       
      .google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
      Returns:
      Whether the config field is set.
    • getConfig

      EvaluationConfig getConfig()
       Output only. Options used in the evaluation job that created this
       evaluation.
       
      .google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
      Returns:
      The config.
    • getConfigOrBuilder

      EvaluationConfigOrBuilder getConfigOrBuilder()
       Output only. Options used in the evaluation job that created this
       evaluation.
       
      .google.cloud.datalabeling.v1beta1.EvaluationConfig config = 2;
    • hasEvaluationJobRunTime

      boolean hasEvaluationJobRunTime()
       Output only. Timestamp for when the evaluation job that created this
       evaluation ran.
       
      .google.protobuf.Timestamp evaluation_job_run_time = 3;
      Returns:
      Whether the evaluationJobRunTime field is set.
    • getEvaluationJobRunTime

      com.google.protobuf.Timestamp getEvaluationJobRunTime()
       Output only. Timestamp for when the evaluation job that created this
       evaluation ran.
       
      .google.protobuf.Timestamp evaluation_job_run_time = 3;
      Returns:
      The evaluationJobRunTime.
    • getEvaluationJobRunTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getEvaluationJobRunTimeOrBuilder()
       Output only. Timestamp for when the evaluation job that created this
       evaluation ran.
       
      .google.protobuf.Timestamp evaluation_job_run_time = 3;
    • hasCreateTime

      boolean hasCreateTime()
       Output only. Timestamp for when this evaluation was created.
       
      .google.protobuf.Timestamp create_time = 4;
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      com.google.protobuf.Timestamp getCreateTime()
       Output only. Timestamp for when this evaluation was created.
       
      .google.protobuf.Timestamp create_time = 4;
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. Timestamp for when this evaluation was created.
       
      .google.protobuf.Timestamp create_time = 4;
    • hasEvaluationMetrics

      boolean hasEvaluationMetrics()
       Output only. Metrics comparing predictions to ground truth labels.
       
      .google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
      Returns:
      Whether the evaluationMetrics field is set.
    • getEvaluationMetrics

      EvaluationMetrics getEvaluationMetrics()
       Output only. Metrics comparing predictions to ground truth labels.
       
      .google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
      Returns:
      The evaluationMetrics.
    • getEvaluationMetricsOrBuilder

      EvaluationMetricsOrBuilder getEvaluationMetricsOrBuilder()
       Output only. Metrics comparing predictions to ground truth labels.
       
      .google.cloud.datalabeling.v1beta1.EvaluationMetrics evaluation_metrics = 5;
    • getAnnotationTypeValue

      int getAnnotationTypeValue()
       Output only. Type of task that the model version being evaluated performs,
       as defined in the
      
       [evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config]
       field of the evaluation job that created this evaluation.
       
      .google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
      Returns:
      The enum numeric value on the wire for annotationType.
    • getAnnotationType

      AnnotationType getAnnotationType()
       Output only. Type of task that the model version being evaluated performs,
       as defined in the
      
       [evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config]
       field of the evaluation job that created this evaluation.
       
      .google.cloud.datalabeling.v1beta1.AnnotationType annotation_type = 6;
      Returns:
      The annotationType.
    • getEvaluatedItemCount

      long getEvaluatedItemCount()
       Output only. The number of items in the ground truth dataset that were used
       for this evaluation. Only populated when the evaulation is for certain
       AnnotationTypes.
       
      int64 evaluated_item_count = 7;
      Returns:
      The evaluatedItemCount.