• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/cloud/automl/v1/text_extraction.proto
18 
19 package com.google.cloud.automl.v1;
20 
21 public final class TextExtraction {
TextExtraction()22   private TextExtraction() {}
23 
registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
25 
registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26   public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
27     registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
28   }
29 
30   static final com.google.protobuf.Descriptors.Descriptor
31       internal_static_google_cloud_automl_v1_TextExtractionAnnotation_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_automl_v1_TextExtractionAnnotation_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_fieldAccessorTable;
42 
getDescriptor()43   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
44     return descriptor;
45   }
46 
47   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
48 
49   static {
50     java.lang.String[] descriptorData = {
51       "\n,google/cloud/automl/v1/text_extraction"
52           + ".proto\022\026google.cloud.automl.v1\032)google/c"
53           + "loud/automl/v1/text_segment.proto\"t\n\030Tex"
54           + "tExtractionAnnotation\022;\n\014text_segment\030\003 "
55           + "\001(\0132#.google.cloud.automl.v1.TextSegment"
56           + "H\000\022\r\n\005score\030\001 \001(\002B\014\n\nannotation\"\222\002\n\037Text"
57           + "ExtractionEvaluationMetrics\022\016\n\006au_prc\030\001 "
58           + "\001(\002\022r\n\032confidence_metrics_entries\030\002 \003(\0132"
59           + "N.google.cloud.automl.v1.TextExtractionE"
60           + "valuationMetrics.ConfidenceMetricsEntry\032"
61           + "k\n\026ConfidenceMetricsEntry\022\034\n\024confidence_"
62           + "threshold\030\001 \001(\002\022\016\n\006recall\030\003 \001(\002\022\021\n\tpreci"
63           + "sion\030\004 \001(\002\022\020\n\010f1_score\030\005 \001(\002B\240\001\n\032com.goo"
64           + "gle.cloud.automl.v1P\001Z2cloud.google.com/"
65           + "go/automl/apiv1/automlpb;automlpb\252\002\026Goog"
66           + "le.Cloud.AutoML.V1\312\002\026Google\\Cloud\\AutoMl"
67           + "\\V1\352\002\031Google::Cloud::AutoML::V1b\006proto3"
68     };
69     descriptor =
70         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
71             descriptorData,
72             new com.google.protobuf.Descriptors.FileDescriptor[] {
73               com.google.cloud.automl.v1.TextSegmentProto.getDescriptor(),
74             });
75     internal_static_google_cloud_automl_v1_TextExtractionAnnotation_descriptor =
76         getDescriptor().getMessageTypes().get(0);
77     internal_static_google_cloud_automl_v1_TextExtractionAnnotation_fieldAccessorTable =
78         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
79             internal_static_google_cloud_automl_v1_TextExtractionAnnotation_descriptor,
80             new java.lang.String[] {
81               "TextSegment", "Score", "Annotation",
82             });
83     internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_descriptor =
84         getDescriptor().getMessageTypes().get(1);
85     internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_fieldAccessorTable =
86         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
87             internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_descriptor,
88             new java.lang.String[] {
89               "AuPrc", "ConfidenceMetricsEntries",
90             });
91     internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor =
92         internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_descriptor
93             .getNestedTypes()
94             .get(0);
95     internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_fieldAccessorTable =
96         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
97             internal_static_google_cloud_automl_v1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor,
98             new java.lang.String[] {
99               "ConfidenceThreshold", "Recall", "Precision", "F1Score",
100             });
com.google.cloud.automl.v1.TextSegmentProto.getDescriptor()101     com.google.cloud.automl.v1.TextSegmentProto.getDescriptor();
102   }
103 
104   // @@protoc_insertion_point(outer_class_scope)
105 }
106