• 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/datalabeling/v1beta1/evaluation.proto
18 
19 package com.google.cloud.datalabeling.v1beta1;
20 
21 public final class EvaluationOuterClass {
EvaluationOuterClass()22   private EvaluationOuterClass() {}
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_datalabeling_v1beta1_Evaluation_descriptor;
32   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
33       internal_static_google_cloud_datalabeling_v1beta1_Evaluation_fieldAccessorTable;
34   static final com.google.protobuf.Descriptors.Descriptor
35       internal_static_google_cloud_datalabeling_v1beta1_EvaluationConfig_descriptor;
36   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
37       internal_static_google_cloud_datalabeling_v1beta1_EvaluationConfig_fieldAccessorTable;
38   static final com.google.protobuf.Descriptors.Descriptor
39       internal_static_google_cloud_datalabeling_v1beta1_BoundingBoxEvaluationOptions_descriptor;
40   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
41       internal_static_google_cloud_datalabeling_v1beta1_BoundingBoxEvaluationOptions_fieldAccessorTable;
42   static final com.google.protobuf.Descriptors.Descriptor
43       internal_static_google_cloud_datalabeling_v1beta1_EvaluationMetrics_descriptor;
44   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
45       internal_static_google_cloud_datalabeling_v1beta1_EvaluationMetrics_fieldAccessorTable;
46   static final com.google.protobuf.Descriptors.Descriptor
47       internal_static_google_cloud_datalabeling_v1beta1_ClassificationMetrics_descriptor;
48   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
49       internal_static_google_cloud_datalabeling_v1beta1_ClassificationMetrics_fieldAccessorTable;
50   static final com.google.protobuf.Descriptors.Descriptor
51       internal_static_google_cloud_datalabeling_v1beta1_ObjectDetectionMetrics_descriptor;
52   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
53       internal_static_google_cloud_datalabeling_v1beta1_ObjectDetectionMetrics_fieldAccessorTable;
54   static final com.google.protobuf.Descriptors.Descriptor
55       internal_static_google_cloud_datalabeling_v1beta1_PrCurve_descriptor;
56   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
57       internal_static_google_cloud_datalabeling_v1beta1_PrCurve_fieldAccessorTable;
58   static final com.google.protobuf.Descriptors.Descriptor
59       internal_static_google_cloud_datalabeling_v1beta1_PrCurve_ConfidenceMetricsEntry_descriptor;
60   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
61       internal_static_google_cloud_datalabeling_v1beta1_PrCurve_ConfidenceMetricsEntry_fieldAccessorTable;
62   static final com.google.protobuf.Descriptors.Descriptor
63       internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_descriptor;
64   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
65       internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_fieldAccessorTable;
66   static final com.google.protobuf.Descriptors.Descriptor
67       internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_ConfusionMatrixEntry_descriptor;
68   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
69       internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_ConfusionMatrixEntry_fieldAccessorTable;
70   static final com.google.protobuf.Descriptors.Descriptor
71       internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_Row_descriptor;
72   static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
73       internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_Row_fieldAccessorTable;
74 
getDescriptor()75   public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
76     return descriptor;
77   }
78 
79   private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
80 
81   static {
82     java.lang.String[] descriptorData = {
83       "\n2google/cloud/datalabeling/v1beta1/eval"
84           + "uation.proto\022!google.cloud.datalabeling."
85           + "v1beta1\032\031google/api/resource.proto\0322goog"
86           + "le/cloud/datalabeling/v1beta1/annotation"
87           + ".proto\032;google/cloud/datalabeling/v1beta"
88           + "1/annotation_spec_set.proto\032\037google/prot"
89           + "obuf/timestamp.proto\"\366\003\n\nEvaluation\022\014\n\004n"
90           + "ame\030\001 \001(\t\022C\n\006config\030\002 \001(\01323.google.cloud"
91           + ".datalabeling.v1beta1.EvaluationConfig\022;"
92           + "\n\027evaluation_job_run_time\030\003 \001(\0132\032.google"
93           + ".protobuf.Timestamp\022/\n\013create_time\030\004 \001(\013"
94           + "2\032.google.protobuf.Timestamp\022P\n\022evaluati"
95           + "on_metrics\030\005 \001(\01324.google.cloud.datalabe"
96           + "ling.v1beta1.EvaluationMetrics\022J\n\017annota"
97           + "tion_type\030\006 \001(\01621.google.cloud.datalabel"
98           + "ing.v1beta1.AnnotationType\022\034\n\024evaluated_"
99           + "item_count\030\007 \001(\003:k\352Ah\n&datalabeling.goog"
100           + "leapis.com/Evaluation\022>projects/{project"
101           + "}/datasets/{dataset}/evaluations/{evalua"
102           + "tion}\"\221\001\n\020EvaluationConfig\022j\n\037bounding_b"
103           + "ox_evaluation_options\030\001 \001(\0132?.google.clo"
104           + "ud.datalabeling.v1beta1.BoundingBoxEvalu"
105           + "ationOptionsH\000B\021\n\017vertical_option\"5\n\034Bou"
106           + "ndingBoxEvaluationOptions\022\025\n\riou_thresho"
107           + "ld\030\001 \001(\002\"\331\001\n\021EvaluationMetrics\022Z\n\026classi"
108           + "fication_metrics\030\001 \001(\01328.google.cloud.da"
109           + "talabeling.v1beta1.ClassificationMetrics"
110           + "H\000\022]\n\030object_detection_metrics\030\002 \001(\01329.g"
111           + "oogle.cloud.datalabeling.v1beta1.ObjectD"
112           + "etectionMetricsH\000B\t\n\007metrics\"\243\001\n\025Classif"
113           + "icationMetrics\022<\n\010pr_curve\030\001 \001(\0132*.googl"
114           + "e.cloud.datalabeling.v1beta1.PrCurve\022L\n\020"
115           + "confusion_matrix\030\002 \001(\01322.google.cloud.da"
116           + "talabeling.v1beta1.ConfusionMatrix\"V\n\026Ob"
117           + "jectDetectionMetrics\022<\n\010pr_curve\030\001 \001(\0132*"
118           + ".google.cloud.datalabeling.v1beta1.PrCur"
119           + "ve\"\346\003\n\007PrCurve\022J\n\017annotation_spec\030\001 \001(\0132"
120           + "1.google.cloud.datalabeling.v1beta1.Anno"
121           + "tationSpec\022\030\n\020area_under_curve\030\002 \001(\002\022e\n\032"
122           + "confidence_metrics_entries\030\003 \003(\0132A.googl"
123           + "e.cloud.datalabeling.v1beta1.PrCurve.Con"
124           + "fidenceMetricsEntry\022\036\n\026mean_average_prec"
125           + "ision\030\004 \001(\002\032\355\001\n\026ConfidenceMetricsEntry\022\034"
126           + "\n\024confidence_threshold\030\001 \001(\002\022\016\n\006recall\030\002"
127           + " \001(\002\022\021\n\tprecision\030\003 \001(\002\022\020\n\010f1_score\030\004 \001("
128           + "\002\022\022\n\nrecall_at1\030\005 \001(\002\022\025\n\rprecision_at1\030\006"
129           + " \001(\002\022\024\n\014f1_score_at1\030\007 \001(\002\022\022\n\nrecall_at5"
130           + "\030\010 \001(\002\022\025\n\rprecision_at5\030\t \001(\002\022\024\n\014f1_scor"
131           + "e_at5\030\n \001(\002\"\374\002\n\017ConfusionMatrix\022C\n\003row\030\001"
132           + " \003(\01326.google.cloud.datalabeling.v1beta1"
133           + ".ConfusionMatrix.Row\032v\n\024ConfusionMatrixE"
134           + "ntry\022J\n\017annotation_spec\030\001 \001(\01321.google.c"
135           + "loud.datalabeling.v1beta1.AnnotationSpec"
136           + "\022\022\n\nitem_count\030\002 \001(\005\032\253\001\n\003Row\022J\n\017annotati"
137           + "on_spec\030\001 \001(\01321.google.cloud.datalabelin"
138           + "g.v1beta1.AnnotationSpec\022X\n\007entries\030\002 \003("
139           + "\0132G.google.cloud.datalabeling.v1beta1.Co"
140           + "nfusionMatrix.ConfusionMatrixEntryB\343\001\n%c"
141           + "om.google.cloud.datalabeling.v1beta1P\001ZI"
142           + "cloud.google.com/go/datalabeling/apiv1be"
143           + "ta1/datalabelingpb;datalabelingpb\252\002!Goog"
144           + "le.Cloud.DataLabeling.V1Beta1\312\002!Google\\C"
145           + "loud\\DataLabeling\\V1beta1\352\002$Google::Clou"
146           + "d::DataLabeling::V1beta1b\006proto3"
147     };
148     descriptor =
149         com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
150             descriptorData,
151             new com.google.protobuf.Descriptors.FileDescriptor[] {
152               com.google.api.ResourceProto.getDescriptor(),
153               com.google.cloud.datalabeling.v1beta1.AnnotationOuterClass.getDescriptor(),
154               com.google.cloud.datalabeling.v1beta1.AnnotationSpecSetOuterClass.getDescriptor(),
155               com.google.protobuf.TimestampProto.getDescriptor(),
156             });
157     internal_static_google_cloud_datalabeling_v1beta1_Evaluation_descriptor =
158         getDescriptor().getMessageTypes().get(0);
159     internal_static_google_cloud_datalabeling_v1beta1_Evaluation_fieldAccessorTable =
160         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
161             internal_static_google_cloud_datalabeling_v1beta1_Evaluation_descriptor,
162             new java.lang.String[] {
163               "Name",
164               "Config",
165               "EvaluationJobRunTime",
166               "CreateTime",
167               "EvaluationMetrics",
168               "AnnotationType",
169               "EvaluatedItemCount",
170             });
171     internal_static_google_cloud_datalabeling_v1beta1_EvaluationConfig_descriptor =
172         getDescriptor().getMessageTypes().get(1);
173     internal_static_google_cloud_datalabeling_v1beta1_EvaluationConfig_fieldAccessorTable =
174         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
175             internal_static_google_cloud_datalabeling_v1beta1_EvaluationConfig_descriptor,
176             new java.lang.String[] {
177               "BoundingBoxEvaluationOptions", "VerticalOption",
178             });
179     internal_static_google_cloud_datalabeling_v1beta1_BoundingBoxEvaluationOptions_descriptor =
180         getDescriptor().getMessageTypes().get(2);
181     internal_static_google_cloud_datalabeling_v1beta1_BoundingBoxEvaluationOptions_fieldAccessorTable =
182         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
183             internal_static_google_cloud_datalabeling_v1beta1_BoundingBoxEvaluationOptions_descriptor,
184             new java.lang.String[] {
185               "IouThreshold",
186             });
187     internal_static_google_cloud_datalabeling_v1beta1_EvaluationMetrics_descriptor =
188         getDescriptor().getMessageTypes().get(3);
189     internal_static_google_cloud_datalabeling_v1beta1_EvaluationMetrics_fieldAccessorTable =
190         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
191             internal_static_google_cloud_datalabeling_v1beta1_EvaluationMetrics_descriptor,
192             new java.lang.String[] {
193               "ClassificationMetrics", "ObjectDetectionMetrics", "Metrics",
194             });
195     internal_static_google_cloud_datalabeling_v1beta1_ClassificationMetrics_descriptor =
196         getDescriptor().getMessageTypes().get(4);
197     internal_static_google_cloud_datalabeling_v1beta1_ClassificationMetrics_fieldAccessorTable =
198         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
199             internal_static_google_cloud_datalabeling_v1beta1_ClassificationMetrics_descriptor,
200             new java.lang.String[] {
201               "PrCurve", "ConfusionMatrix",
202             });
203     internal_static_google_cloud_datalabeling_v1beta1_ObjectDetectionMetrics_descriptor =
204         getDescriptor().getMessageTypes().get(5);
205     internal_static_google_cloud_datalabeling_v1beta1_ObjectDetectionMetrics_fieldAccessorTable =
206         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
207             internal_static_google_cloud_datalabeling_v1beta1_ObjectDetectionMetrics_descriptor,
208             new java.lang.String[] {
209               "PrCurve",
210             });
211     internal_static_google_cloud_datalabeling_v1beta1_PrCurve_descriptor =
212         getDescriptor().getMessageTypes().get(6);
213     internal_static_google_cloud_datalabeling_v1beta1_PrCurve_fieldAccessorTable =
214         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
215             internal_static_google_cloud_datalabeling_v1beta1_PrCurve_descriptor,
216             new java.lang.String[] {
217               "AnnotationSpec",
218               "AreaUnderCurve",
219               "ConfidenceMetricsEntries",
220               "MeanAveragePrecision",
221             });
222     internal_static_google_cloud_datalabeling_v1beta1_PrCurve_ConfidenceMetricsEntry_descriptor =
223         internal_static_google_cloud_datalabeling_v1beta1_PrCurve_descriptor
224             .getNestedTypes()
225             .get(0);
226     internal_static_google_cloud_datalabeling_v1beta1_PrCurve_ConfidenceMetricsEntry_fieldAccessorTable =
227         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
228             internal_static_google_cloud_datalabeling_v1beta1_PrCurve_ConfidenceMetricsEntry_descriptor,
229             new java.lang.String[] {
230               "ConfidenceThreshold",
231               "Recall",
232               "Precision",
233               "F1Score",
234               "RecallAt1",
235               "PrecisionAt1",
236               "F1ScoreAt1",
237               "RecallAt5",
238               "PrecisionAt5",
239               "F1ScoreAt5",
240             });
241     internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_descriptor =
242         getDescriptor().getMessageTypes().get(7);
243     internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_fieldAccessorTable =
244         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
245             internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_descriptor,
246             new java.lang.String[] {
247               "Row",
248             });
249     internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_ConfusionMatrixEntry_descriptor =
250         internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_descriptor
251             .getNestedTypes()
252             .get(0);
253     internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_ConfusionMatrixEntry_fieldAccessorTable =
254         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
255             internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_ConfusionMatrixEntry_descriptor,
256             new java.lang.String[] {
257               "AnnotationSpec", "ItemCount",
258             });
259     internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_Row_descriptor =
260         internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_descriptor
261             .getNestedTypes()
262             .get(1);
263     internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_Row_fieldAccessorTable =
264         new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
265             internal_static_google_cloud_datalabeling_v1beta1_ConfusionMatrix_Row_descriptor,
266             new java.lang.String[] {
267               "AnnotationSpec", "Entries",
268             });
269     com.google.protobuf.ExtensionRegistry registry =
270         com.google.protobuf.ExtensionRegistry.newInstance();
271     registry.add(com.google.api.ResourceProto.resource);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)272     com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
273         descriptor, registry);
com.google.api.ResourceProto.getDescriptor()274     com.google.api.ResourceProto.getDescriptor();
com.google.cloud.datalabeling.v1beta1.AnnotationOuterClass.getDescriptor()275     com.google.cloud.datalabeling.v1beta1.AnnotationOuterClass.getDescriptor();
com.google.cloud.datalabeling.v1beta1.AnnotationSpecSetOuterClass.getDescriptor()276     com.google.cloud.datalabeling.v1beta1.AnnotationSpecSetOuterClass.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor()277     com.google.protobuf.TimestampProto.getDescriptor();
278   }
279 
280   // @@protoc_insertion_point(outer_class_scope)
281 }
282