• 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/classification.proto
18 
19 package com.google.cloud.automl.v1;
20 
21 public final class ClassificationProto {
ClassificationProto()22   private ClassificationProto() {}
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_ClassificationAnnotation_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_automl_v1_ClassificationAnnotation_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfidenceMetricsEntry_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfidenceMetricsEntry_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_fieldAccessorTable;
46   static final com.google.protobuf.Descriptors.Descriptor
47       internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_Row_descriptor;
48   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
49       internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_Row_fieldAccessorTable;
50 
getDescriptor()51   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
52     return descriptor;
53   }
54 
55   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
56 
57   static {
58     java.lang.String[] descriptorData = {
59       "\n+google/cloud/automl/v1/classification."
60           + "proto\022\026google.cloud.automl.v1\")\n\030Classif"
61           + "icationAnnotation\022\r\n\005score\030\001 \001(\002\"\201\007\n\037Cla"
62           + "ssificationEvaluationMetrics\022\016\n\006au_prc\030\001"
63           + " \001(\002\022\016\n\006au_roc\030\006 \001(\002\022\020\n\010log_loss\030\007 \001(\002\022p"
64           + "\n\030confidence_metrics_entry\030\003 \003(\0132N.googl"
65           + "e.cloud.automl.v1.ClassificationEvaluati"
66           + "onMetrics.ConfidenceMetricsEntry\022a\n\020conf"
67           + "usion_matrix\030\004 \001(\0132G.google.cloud.automl"
68           + ".v1.ClassificationEvaluationMetrics.Conf"
69           + "usionMatrix\022\032\n\022annotation_spec_id\030\005 \003(\t\032"
70           + "\374\002\n\026ConfidenceMetricsEntry\022\034\n\024confidence"
71           + "_threshold\030\001 \001(\002\022\032\n\022position_threshold\030\016"
72           + " \001(\005\022\016\n\006recall\030\002 \001(\002\022\021\n\tprecision\030\003 \001(\002\022"
73           + "\033\n\023false_positive_rate\030\010 \001(\002\022\020\n\010f1_score"
74           + "\030\004 \001(\002\022\022\n\nrecall_at1\030\005 \001(\002\022\025\n\rprecision_"
75           + "at1\030\006 \001(\002\022\037\n\027false_positive_rate_at1\030\t \001"
76           + "(\002\022\024\n\014f1_score_at1\030\007 \001(\002\022\033\n\023true_positiv"
77           + "e_count\030\n \001(\003\022\034\n\024false_positive_count\030\013 "
78           + "\001(\003\022\034\n\024false_negative_count\030\014 \001(\003\022\033\n\023tru"
79           + "e_negative_count\030\r \001(\003\032\273\001\n\017ConfusionMatr"
80           + "ix\022\032\n\022annotation_spec_id\030\001 \003(\t\022\024\n\014displa"
81           + "y_name\030\003 \003(\t\022X\n\003row\030\002 \003(\0132K.google.cloud"
82           + ".automl.v1.ClassificationEvaluationMetri"
83           + "cs.ConfusionMatrix.Row\032\034\n\003Row\022\025\n\rexample"
84           + "_count\030\001 \003(\005*Y\n\022ClassificationType\022#\n\037CL"
85           + "ASSIFICATION_TYPE_UNSPECIFIED\020\000\022\016\n\nMULTI"
86           + "CLASS\020\001\022\016\n\nMULTILABEL\020\002B\265\001\n\032com.google.c"
87           + "loud.automl.v1B\023ClassificationProtoP\001Z2c"
88           + "loud.google.com/go/automl/apiv1/automlpb"
89           + ";automlpb\252\002\026Google.Cloud.AutoML.V1\312\002\026Goo"
90           + "gle\\Cloud\\AutoMl\\V1\352\002\031Google::Cloud::Aut"
91           + "oML::V1b\006proto3"
92     };
93     descriptor =
94         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
95             descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
96     internal_static_google_cloud_automl_v1_ClassificationAnnotation_descriptor =
97         getDescriptor().getMessageTypes().get(0);
98     internal_static_google_cloud_automl_v1_ClassificationAnnotation_fieldAccessorTable =
99         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
100             internal_static_google_cloud_automl_v1_ClassificationAnnotation_descriptor,
101             new java.lang.String[] {
102               "Score",
103             });
104     internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_descriptor =
105         getDescriptor().getMessageTypes().get(1);
106     internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_fieldAccessorTable =
107         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
108             internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_descriptor,
109             new java.lang.String[] {
110               "AuPrc",
111               "AuRoc",
112               "LogLoss",
113               "ConfidenceMetricsEntry",
114               "ConfusionMatrix",
115               "AnnotationSpecId",
116             });
117     internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfidenceMetricsEntry_descriptor =
118         internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_descriptor
119             .getNestedTypes()
120             .get(0);
121     internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfidenceMetricsEntry_fieldAccessorTable =
122         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
123             internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfidenceMetricsEntry_descriptor,
124             new java.lang.String[] {
125               "ConfidenceThreshold",
126               "PositionThreshold",
127               "Recall",
128               "Precision",
129               "FalsePositiveRate",
130               "F1Score",
131               "RecallAt1",
132               "PrecisionAt1",
133               "FalsePositiveRateAt1",
134               "F1ScoreAt1",
135               "TruePositiveCount",
136               "FalsePositiveCount",
137               "FalseNegativeCount",
138               "TrueNegativeCount",
139             });
140     internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_descriptor =
141         internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_descriptor
142             .getNestedTypes()
143             .get(1);
144     internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_fieldAccessorTable =
145         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
146             internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_descriptor,
147             new java.lang.String[] {
148               "AnnotationSpecId", "DisplayName", "Row",
149             });
150     internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_Row_descriptor =
151         internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_descriptor
152             .getNestedTypes()
153             .get(0);
154     internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_Row_fieldAccessorTable =
155         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
156             internal_static_google_cloud_automl_v1_ClassificationEvaluationMetrics_ConfusionMatrix_Row_descriptor,
157             new java.lang.String[] {
158               "ExampleCount",
159             });
160   }
161 
162   // @@protoc_insertion_point(outer_class_scope)
163 }
164