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/v1beta1/text_extraction.proto 18 19 package com.google.cloud.automl.v1beta1; 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_v1beta1_TextExtractionAnnotation_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_cloud_automl_v1beta1_TextExtractionAnnotation_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_cloud_automl_v1beta1_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 "\n1google/cloud/automl/v1beta1/text_extra" 52 + "ction.proto\022\033google.cloud.automl.v1beta1" 53 + "\032.google/cloud/automl/v1beta1/text_segme" 54 + "nt.proto\"y\n\030TextExtractionAnnotation\022@\n\014" 55 + "text_segment\030\003 \001(\0132(.google.cloud.automl" 56 + ".v1beta1.TextSegmentH\000\022\r\n\005score\030\001 \001(\002B\014\n" 57 + "\nannotation\"\227\002\n\037TextExtractionEvaluation" 58 + "Metrics\022\016\n\006au_prc\030\001 \001(\002\022w\n\032confidence_me" 59 + "trics_entries\030\002 \003(\0132S.google.cloud.autom" 60 + "l.v1beta1.TextExtractionEvaluationMetric" 61 + "s.ConfidenceMetricsEntry\032k\n\026ConfidenceMe" 62 + "tricsEntry\022\034\n\024confidence_threshold\030\001 \001(\002" 63 + "\022\016\n\006recall\030\003 \001(\002\022\021\n\tprecision\030\004 \001(\002\022\020\n\010f" 64 + "1_score\030\005 \001(\002B\233\001\n\037com.google.cloud.autom" 65 + "l.v1beta1P\001Z7cloud.google.com/go/automl/" 66 + "apiv1beta1/automlpb;automlpb\312\002\033Google\\Cl" 67 + "oud\\AutoMl\\V1beta1\352\002\036Google::Cloud::Auto" 68 + "ML::V1beta1b\006proto3" 69 }; 70 descriptor = 71 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 72 descriptorData, 73 new com.google.protobuf.Descriptors.FileDescriptor[] { 74 com.google.cloud.automl.v1beta1.TextSegmentProto.getDescriptor(), 75 }); 76 internal_static_google_cloud_automl_v1beta1_TextExtractionAnnotation_descriptor = 77 getDescriptor().getMessageTypes().get(0); 78 internal_static_google_cloud_automl_v1beta1_TextExtractionAnnotation_fieldAccessorTable = 79 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 80 internal_static_google_cloud_automl_v1beta1_TextExtractionAnnotation_descriptor, 81 new java.lang.String[] { 82 "TextSegment", "Score", "Annotation", 83 }); 84 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_descriptor = 85 getDescriptor().getMessageTypes().get(1); 86 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_fieldAccessorTable = 87 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 88 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_descriptor, 89 new java.lang.String[] { 90 "AuPrc", "ConfidenceMetricsEntries", 91 }); 92 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor = 93 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_descriptor 94 .getNestedTypes() 95 .get(0); 96 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_fieldAccessorTable = 97 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 98 internal_static_google_cloud_automl_v1beta1_TextExtractionEvaluationMetrics_ConfidenceMetricsEntry_descriptor, 99 new java.lang.String[] { 100 "ConfidenceThreshold", "Recall", "Precision", "F1Score", 101 }); com.google.cloud.automl.v1beta1.TextSegmentProto.getDescriptor()102 com.google.cloud.automl.v1beta1.TextSegmentProto.getDescriptor(); 103 } 104 105 // @@protoc_insertion_point(outer_class_scope) 106 } 107