/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/documentai/v1/evaluation.proto

package com.google.cloud.documentai.v1;

public final class DocumentAiEvaluation {
  private DocumentAiEvaluation() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_documentai_v1_EvaluationReference_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_documentai_v1_EvaluationReference_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_documentai_v1_Evaluation_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_documentai_v1_Evaluation_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_documentai_v1_Evaluation_Counters_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_documentai_v1_Evaluation_Counters_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_documentai_v1_Evaluation_Metrics_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_documentai_v1_Evaluation_Metrics_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n+google/cloud/documentai/v1/evaluation."
          + "proto\022\032google.cloud.documentai.v1\032\031googl"
          + "e/api/resource.proto\032\037google/protobuf/ti"
          + "mestamp.proto\"\203\002\n\023EvaluationReference\022\021\n"
          + "\toperation\030\001 \001(\t\022=\n\nevaluation\030\002 \001(\tB)\372A"
          + "&\n$documentai.googleapis.com/Evaluation\022"
          + "I\n\021aggregate_metrics\030\004 \001(\0132..google.clou"
          + "d.documentai.v1.Evaluation.Metrics\022O\n\027ag"
          + "gregate_metrics_exact\030\005 \001(\0132..google.clo"
          + "ud.documentai.v1.Evaluation.Metrics\"\345\r\n\n"
          + "Evaluation\022\014\n\004name\030\001 \001(\t\022/\n\013create_time\030"
          + "\002 \001(\0132\032.google.protobuf.Timestamp\022J\n\021doc"
          + "ument_counters\030\005 \001(\0132/.google.cloud.docu"
          + "mentai.v1.Evaluation.Counters\022[\n\024all_ent"
          + "ities_metrics\030\003 \001(\0132=.google.cloud.docum"
          + "entai.v1.Evaluation.MultiConfidenceMetri"
          + "cs\022Q\n\016entity_metrics\030\004 \003(\01329.google.clou"
          + "d.documentai.v1.Evaluation.EntityMetrics"
          + "Entry\022\024\n\014kms_key_name\030\006 \001(\t\022\034\n\024kms_key_v"
          + "ersion_name\030\007 \001(\t\032\215\001\n\010Counters\022\035\n\025input_"
          + "documents_count\030\001 \001(\005\022\037\n\027invalid_documen"
          + "ts_count\030\002 \001(\005\022\036\n\026failed_documents_count"
          + "\030\003 \001(\005\022!\n\031evaluated_documents_count\030\004 \001("
          + "\005\032\315\002\n\007Metrics\022\021\n\tprecision\030\001 \001(\002\022\016\n\006reca"
          + "ll\030\002 \001(\002\022\020\n\010f1_score\030\003 \001(\002\022#\n\033predicted_"
          + "occurrences_count\030\004 \001(\005\022&\n\036ground_truth_"
          + "occurrences_count\030\005 \001(\005\022 \n\030predicted_doc"
          + "ument_count\030\n \001(\005\022#\n\033ground_truth_docume"
          + "nt_count\030\013 \001(\005\022\034\n\024true_positives_count\030\006"
          + " \001(\005\022\035\n\025false_positives_count\030\007 \001(\005\022\035\n\025f"
          + "alse_negatives_count\030\010 \001(\005\022\035\n\025total_docu"
          + "ments_count\030\t \001(\005\032s\n\026ConfidenceLevelMetr"
          + "ics\022\030\n\020confidence_level\030\001 \001(\002\022?\n\007metrics"
          + "\030\002 \001(\0132..google.cloud.documentai.v1.Eval"
          + "uation.Metrics\032\361\003\n\026MultiConfidenceMetric"
          + "s\022_\n\030confidence_level_metrics\030\001 \003(\0132=.go"
          + "ogle.cloud.documentai.v1.Evaluation.Conf"
          + "idenceLevelMetrics\022e\n\036confidence_level_m"
          + "etrics_exact\030\004 \003(\0132=.google.cloud.docume"
          + "ntai.v1.Evaluation.ConfidenceLevelMetric"
          + "s\022\r\n\005auprc\030\002 \001(\002\022#\n\033estimated_calibratio"
          + "n_error\030\003 \001(\002\022\023\n\013auprc_exact\030\005 \001(\002\022)\n!es"
          + "timated_calibration_error_exact\030\006 \001(\002\022_\n"
          + "\014metrics_type\030\007 \001(\0162I.google.cloud.docum"
          + "entai.v1.Evaluation.MultiConfidenceMetri"
          + "cs.MetricsType\":\n\013MetricsType\022\034\n\030METRICS"
          + "_TYPE_UNSPECIFIED\020\000\022\r\n\tAGGREGATE\020\001\032s\n\022En"
          + "tityMetricsEntry\022\013\n\003key\030\001 \001(\t\022L\n\005value\030\002"
          + " \001(\0132=.google.cloud.documentai.v1.Evalua"
          + "tion.MultiConfidenceMetrics:\0028\001:\251\001\352A\245\001\n$"
          + "documentai.googleapis.com/Evaluation\022}pr"
          + "ojects/{project}/locations/{location}/pr"
          + "ocessors/{processor}/processorVersions/{"
          + "processor_version}/evaluations/{evaluati"
          + "on}B\322\001\n\036com.google.cloud.documentai.v1B\024"
          + "DocumentAiEvaluationP\001Z>cloud.google.com"
          + "/go/documentai/apiv1/documentaipb;docume"
          + "ntaipb\252\002\032Google.Cloud.DocumentAI.V1\312\002\032Go"
          + "ogle\\Cloud\\DocumentAI\\V1\352\002\035Google::Cloud"
          + "::DocumentAI::V1b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.ResourceProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
            });
    internal_static_google_cloud_documentai_v1_EvaluationReference_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_documentai_v1_EvaluationReference_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_documentai_v1_EvaluationReference_descriptor,
            new java.lang.String[] {
              "Operation", "Evaluation", "AggregateMetrics", "AggregateMetricsExact",
            });
    internal_static_google_cloud_documentai_v1_Evaluation_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_documentai_v1_Evaluation_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_documentai_v1_Evaluation_descriptor,
            new java.lang.String[] {
              "Name",
              "CreateTime",
              "DocumentCounters",
              "AllEntitiesMetrics",
              "EntityMetrics",
              "KmsKeyName",
              "KmsKeyVersionName",
            });
    internal_static_google_cloud_documentai_v1_Evaluation_Counters_descriptor =
        internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(0);
    internal_static_google_cloud_documentai_v1_Evaluation_Counters_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_documentai_v1_Evaluation_Counters_descriptor,
            new java.lang.String[] {
              "InputDocumentsCount",
              "InvalidDocumentsCount",
              "FailedDocumentsCount",
              "EvaluatedDocumentsCount",
            });
    internal_static_google_cloud_documentai_v1_Evaluation_Metrics_descriptor =
        internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(1);
    internal_static_google_cloud_documentai_v1_Evaluation_Metrics_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_documentai_v1_Evaluation_Metrics_descriptor,
            new java.lang.String[] {
              "Precision",
              "Recall",
              "F1Score",
              "PredictedOccurrencesCount",
              "GroundTruthOccurrencesCount",
              "PredictedDocumentCount",
              "GroundTruthDocumentCount",
              "TruePositivesCount",
              "FalsePositivesCount",
              "FalseNegativesCount",
              "TotalDocumentsCount",
            });
    internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_descriptor =
        internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(2);
    internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_documentai_v1_Evaluation_ConfidenceLevelMetrics_descriptor,
            new java.lang.String[] {
              "ConfidenceLevel", "Metrics",
            });
    internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_descriptor =
        internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(3);
    internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_documentai_v1_Evaluation_MultiConfidenceMetrics_descriptor,
            new java.lang.String[] {
              "ConfidenceLevelMetrics",
              "ConfidenceLevelMetricsExact",
              "Auprc",
              "EstimatedCalibrationError",
              "AuprcExact",
              "EstimatedCalibrationErrorExact",
              "MetricsType",
            });
    internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_descriptor =
        internal_static_google_cloud_documentai_v1_Evaluation_descriptor.getNestedTypes().get(4);
    internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_documentai_v1_Evaluation_EntityMetricsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.ResourceProto.resource);
    registry.add(com.google.api.ResourceProto.resourceReference);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.ResourceProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
