Debian Codegraph @

automl/apiv1/automlpb/detection.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/automl/v1/detection.proto
20
21 package automlpb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Annotation details for image object detection.
38 type ImageObjectDetectionAnnotation struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Output only. The rectangle representing the object location.
44 BoundingBox *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"`
45 // Output only. The confidence that this annotation is positive for the parent example,
46 // value in [0, 1], higher means higher positivity confidence.
47 Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"`
48 }
49
50 func (x *ImageObjectDetectionAnnotation) Reset() {
51 *x = ImageObjectDetectionAnnotation{}
52 mi := &file_google_cloud_automl_v1_detection_proto_msgTypes[0]
53 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
54 ms.StoreMessageInfo(mi)
55 }
56
57 func (x *ImageObjectDetectionAnnotation) String() string {
58 return protoimpl.X.MessageStringOf(x)
59 }
60
61 func (*ImageObjectDetectionAnnotation) ProtoMessage() {}
62
63 func (x *ImageObjectDetectionAnnotation) ProtoReflect() protoreflect.Message {
64 mi := &file_google_cloud_automl_v1_detection_proto_msgTypes[0]
65 if x != nil {
66 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
67 if ms.LoadMessageInfo() == nil {
68 ms.StoreMessageInfo(mi)
69 }
70 return ms
71 }
72 return mi.MessageOf(x)
73 }
74
75 // Deprecated: Use ImageObjectDetectionAnnotation.ProtoReflect.Descriptor instead.
76 func (*ImageObjectDetectionAnnotation) Descriptor() ([]byte, []int) {
77 return file_google_cloud_automl_v1_detection_proto_rawDescGZIP(), []int{0}
78 }
79
80 func (x *ImageObjectDetectionAnnotation) GetBoundingBox() *BoundingPoly {
81 if x != nil {
82 return x.BoundingBox
83 }
84 return nil
85 }
86
87 func (x *ImageObjectDetectionAnnotation) GetScore() float32 {
88 if x != nil {
89 return x.Score
90 }
91 return 0
92 }
93
94 // Bounding box matching model metrics for a single intersection-over-union
95 // threshold and multiple label match confidence thresholds.
96 type BoundingBoxMetricsEntry struct {
97 state protoimpl.MessageState
98 sizeCache protoimpl.SizeCache
99 unknownFields protoimpl.UnknownFields
100
101 // Output only. The intersection-over-union threshold value used to compute
102 // this metrics entry.
103 IouThreshold float32 `protobuf:"fixed32,1,opt,name=iou_threshold,json=iouThreshold,proto3" json:"iou_threshold,omitempty"`
104 // Output only. The mean average precision, most often close to au_prc.
105 MeanAveragePrecision float32 `protobuf:"fixed32,2,opt,name=mean_average_precision,json=meanAveragePrecision,proto3" json:"mean_average_precision,omitempty"`
106 // Output only. Metrics for each label-match confidence_threshold from
107 // 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is
108 // derived from them.
109 ConfidenceMetricsEntries []*BoundingBoxMetricsEntry_ConfidenceMetricsEntry `protobuf:"bytes,3,rep,name=confidence_metrics_entries,json=confidenceMetricsEntries,proto3" json:"confidence_metrics_entries,omitempty"`
110 }
111
112 func (x *BoundingBoxMetricsEntry) Reset() {
113 *x = BoundingBoxMetricsEntry{}
114 mi := &file_google_cloud_automl_v1_detection_proto_msgTypes[1]
115 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
116 ms.StoreMessageInfo(mi)
117 }
118
119 func (x *BoundingBoxMetricsEntry) String() string {
120 return protoimpl.X.MessageStringOf(x)
121 }
122
123 func (*BoundingBoxMetricsEntry) ProtoMessage() {}
124
125 func (x *BoundingBoxMetricsEntry) ProtoReflect() protoreflect.Message {
126 mi := &file_google_cloud_automl_v1_detection_proto_msgTypes[1]
127 if x != nil {
128 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
129 if ms.LoadMessageInfo() == nil {
130 ms.StoreMessageInfo(mi)
131 }
132 return ms
133 }
134 return mi.MessageOf(x)
135 }
136
137 // Deprecated: Use BoundingBoxMetricsEntry.ProtoReflect.Descriptor instead.
138 func (*BoundingBoxMetricsEntry) Descriptor() ([]byte, []int) {
139 return file_google_cloud_automl_v1_detection_proto_rawDescGZIP(), []int{1}
140 }
141
142 func (x *BoundingBoxMetricsEntry) GetIouThreshold() float32 {
143 if x != nil {
144 return x.IouThreshold
145 }
146 return 0
147 }
148
149 func (x *BoundingBoxMetricsEntry) GetMeanAveragePrecision() float32 {
150 if x != nil {
151 return x.MeanAveragePrecision
152 }
153 return 0
154 }
155
156 func (x *BoundingBoxMetricsEntry) GetConfidenceMetricsEntries() []*BoundingBoxMetricsEntry_ConfidenceMetricsEntry {
157 if x != nil {
158 return x.ConfidenceMetricsEntries
159 }
160 return nil
161 }
162
163 // Model evaluation metrics for image object detection problems.
164 // Evaluates prediction quality of labeled bounding boxes.
165 type ImageObjectDetectionEvaluationMetrics struct {
166 state protoimpl.MessageState
167 sizeCache protoimpl.SizeCache
168 unknownFields protoimpl.UnknownFields
169
170 // Output only. The total number of bounding boxes (i.e. summed over all
171 // images) the ground truth used to create this evaluation had.
172 EvaluatedBoundingBoxCount int32 `protobuf:"varint,1,opt,name=evaluated_bounding_box_count,json=evaluatedBoundingBoxCount,proto3" json:"evaluated_bounding_box_count,omitempty"`
173 // Output only. The bounding boxes match metrics for each
174 // Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
175 // and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99
176 // pair.
177 BoundingBoxMetricsEntries []*BoundingBoxMetricsEntry `protobuf:"bytes,2,rep,name=bounding_box_metrics_entries,json=boundingBoxMetricsEntries,proto3" json:"bounding_box_metrics_entries,omitempty"`
178 // Output only. The single metric for bounding boxes evaluation:
179 // the mean_average_precision averaged over all bounding_box_metrics_entries.
180 BoundingBoxMeanAveragePrecision float32 `protobuf:"fixed32,3,opt,name=bounding_box_mean_average_precision,json=boundingBoxMeanAveragePrecision,proto3" json:"bounding_box_mean_average_precision,omitempty"`
181 }
182
183 func (x *ImageObjectDetectionEvaluationMetrics) Reset() {
184 *x = ImageObjectDetectionEvaluationMetrics{}
185 mi := &file_google_cloud_automl_v1_detection_proto_msgTypes[2]
186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
187 ms.StoreMessageInfo(mi)
188 }
189
190 func (x *ImageObjectDetectionEvaluationMetrics) String() string {
191 return protoimpl.X.MessageStringOf(x)
192 }
193
194 func (*ImageObjectDetectionEvaluationMetrics) ProtoMessage() {}
195
196 func (x *ImageObjectDetectionEvaluationMetrics) ProtoReflect() protoreflect.Message {
197 mi := &file_google_cloud_automl_v1_detection_proto_msgTypes[2]
198 if x != nil {
199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
200 if ms.LoadMessageInfo() == nil {
201 ms.StoreMessageInfo(mi)
202 }
203 return ms
204 }
205 return mi.MessageOf(x)
206 }
207
208 // Deprecated: Use ImageObjectDetectionEvaluationMetrics.ProtoReflect.Descriptor instead.
209 func (*ImageObjectDetectionEvaluationMetrics) Descriptor() ([]byte, []int) {
210 return file_google_cloud_automl_v1_detection_proto_rawDescGZIP(), []int{2}
211 }
212
213 func (x *ImageObjectDetectionEvaluationMetrics) GetEvaluatedBoundingBoxCount() int32 {
214 if x != nil {
215 return x.EvaluatedBoundingBoxCount
216 }
217 return 0
218 }
219
220 func (x *ImageObjectDetectionEvaluationMetrics) GetBoundingBoxMetricsEntries() []*BoundingBoxMetricsEntry {
221 if x != nil {
222 return x.BoundingBoxMetricsEntries
223 }
224 return nil
225 }
226
227 func (x *ImageObjectDetectionEvaluationMetrics) GetBoundingBoxMeanAveragePrecision() float32 {
228 if x != nil {
229 return x.BoundingBoxMeanAveragePrecision
230 }
231 return 0
232 }
233
234 // Metrics for a single confidence threshold.
235 type BoundingBoxMetricsEntry_ConfidenceMetricsEntry struct {
236 state protoimpl.MessageState
237 sizeCache protoimpl.SizeCache
238 unknownFields protoimpl.UnknownFields
239
240 // Output only. The confidence threshold value used to compute the metrics.
241 ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"`
242 // Output only. Recall under the given confidence threshold.
243 Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"`
244 // Output only. Precision under the given confidence threshold.
245 Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"`
246 // Output only. The harmonic mean of recall and precision.
247 F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"`
248 }
249
250 func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) Reset() {
251 *x = BoundingBoxMetricsEntry_ConfidenceMetricsEntry{}
252 mi := &file_google_cloud_automl_v1_detection_proto_msgTypes[3]
253 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
254 ms.StoreMessageInfo(mi)
255 }
256
257 func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) String() string {
258 return protoimpl.X.MessageStringOf(x)
259 }
260
261 func (*BoundingBoxMetricsEntry_ConfidenceMetricsEntry) ProtoMessage() {}
262
263 func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) ProtoReflect() protoreflect.Message {
264 mi := &file_google_cloud_automl_v1_detection_proto_msgTypes[3]
265 if x != nil {
266 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
267 if ms.LoadMessageInfo() == nil {
268 ms.StoreMessageInfo(mi)
269 }
270 return ms
271 }
272 return mi.MessageOf(x)
273 }
274
275 // Deprecated: Use BoundingBoxMetricsEntry_ConfidenceMetricsEntry.ProtoReflect.Descriptor instead.
276 func (*BoundingBoxMetricsEntry_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) {
277 return file_google_cloud_automl_v1_detection_proto_rawDescGZIP(), []int{1, 0}
278 }
279
280 func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 {
281 if x != nil {
282 return x.ConfidenceThreshold
283 }
284 return 0
285 }
286
287 func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetRecall() float32 {
288 if x != nil {
289 return x.Recall
290 }
291 return 0
292 }
293
294 func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetPrecision() float32 {
295 if x != nil {
296 return x.Precision
297 }
298 return 0
299 }
300
301 func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetF1Score() float32 {
302 if x != nil {
303 return x.F1Score
304 }
305 return 0
306 }
307
308 var File_google_cloud_automl_v1_detection_proto protoreflect.FileDescriptor
309
310 var file_google_cloud_automl_v1_detection_proto_rawDesc = []byte{
311 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
312 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69,
313 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
314 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31,
315 0x1a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
316 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72,
317 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x7f, 0x0a, 0x1e, 0x49, 0x6d, 0x61, 0x67, 0x65,
318 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41,
319 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x47, 0x0a, 0x0c, 0x62, 0x6f, 0x75,
320 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
321 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
322 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e,
323 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42,
324 0x6f, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
325 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0x9a, 0x03, 0x0a, 0x17, 0x42, 0x6f, 0x75,
326 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45,
327 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6f, 0x75, 0x5f, 0x74, 0x68, 0x72, 0x65,
328 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x0c, 0x69, 0x6f, 0x75,
329 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x34, 0x0a, 0x16, 0x6d, 0x65, 0x61,
330 0x6e, 0x5f, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73,
331 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x14, 0x6d, 0x65, 0x61, 0x6e, 0x41,
332 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12,
333 0x84, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6d,
334 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03,
335 0x20, 0x03, 0x28, 0x0b, 0x32, 0x46, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
336 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x6f,
337 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73,
338 0x45, 0x6e, 0x74, 0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65,
339 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x18, 0x63, 0x6f,
340 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45,
341 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x1a, 0x9c, 0x01, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69,
342 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72,
343 0x79, 0x12, 0x31, 0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f,
344 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52,
345 0x13, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73,
346 0x68, 0x6f, 0x6c, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x02,
347 0x20, 0x01, 0x28, 0x02, 0x52, 0x06, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09,
348 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52,
349 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x31,
350 0x5f, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x66, 0x31,
351 0x53, 0x63, 0x6f, 0x72, 0x65, 0x22, 0xa8, 0x02, 0x0a, 0x25, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f,
352 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76,
353 0x61, 0x6c, 0x75, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12,
354 0x3f, 0x0a, 0x1c, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x75,
355 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
356 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x19, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64,
357 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74,
358 0x12, 0x70, 0x0a, 0x1c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78,
359 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73,
360 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
361 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e,
362 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x74, 0x72, 0x69,
363 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e,
364 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x69,
365 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x23, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62,
366 0x6f, 0x78, 0x5f, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x5f,
367 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52,
368 0x1f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x61, 0x6e,
369 0x41, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e,
370 0x42, 0xa0, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
371 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x50,
372 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
373 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70,
374 0x69, 0x76, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74,
375 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
376 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x2e, 0x56, 0x31, 0xca, 0x02,
377 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75,
378 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
379 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a,
380 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
381 }
382
383 var (
384 file_google_cloud_automl_v1_detection_proto_rawDescOnce sync.Once
385 file_google_cloud_automl_v1_detection_proto_rawDescData = file_google_cloud_automl_v1_detection_proto_rawDesc
386 )
387
388 func file_google_cloud_automl_v1_detection_proto_rawDescGZIP() []byte {
389 file_google_cloud_automl_v1_detection_proto_rawDescOnce.Do(func() {
390 file_google_cloud_automl_v1_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1_detection_proto_rawDescData)
391 })
392 return file_google_cloud_automl_v1_detection_proto_rawDescData
393 }
394
395 var file_google_cloud_automl_v1_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
396 var file_google_cloud_automl_v1_detection_proto_goTypes = []any{
397 (*ImageObjectDetectionAnnotation)(nil), // 0: google.cloud.automl.v1.ImageObjectDetectionAnnotation
398 (*BoundingBoxMetricsEntry)(nil), // 1: google.cloud.automl.v1.BoundingBoxMetricsEntry
399 (*ImageObjectDetectionEvaluationMetrics)(nil), // 2: google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics
400 (*BoundingBoxMetricsEntry_ConfidenceMetricsEntry)(nil), // 3: google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry
401 (*BoundingPoly)(nil), // 4: google.cloud.automl.v1.BoundingPoly
402 }
403 var file_google_cloud_automl_v1_detection_proto_depIdxs = []int32{
404 4, // 0: google.cloud.automl.v1.ImageObjectDetectionAnnotation.bounding_box:type_name -> google.cloud.automl.v1.BoundingPoly
405 3, // 1: google.cloud.automl.v1.BoundingBoxMetricsEntry.confidence_metrics_entries:type_name -> google.cloud.automl.v1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry
406 1, // 2: google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics.bounding_box_metrics_entries:type_name -> google.cloud.automl.v1.BoundingBoxMetricsEntry
407 3, // [3:3] is the sub-list for method output_type
408 3, // [3:3] is the sub-list for method input_type
409 3, // [3:3] is the sub-list for extension type_name
410 3, // [3:3] is the sub-list for extension extendee
411 0, // [0:3] is the sub-list for field type_name
412 }
413
414 func init() { file_google_cloud_automl_v1_detection_proto_init() }
415 func file_google_cloud_automl_v1_detection_proto_init() {
416 if File_google_cloud_automl_v1_detection_proto != nil {
417 return
418 }
419 file_google_cloud_automl_v1_geometry_proto_init()
420 type x struct{}
421 out := protoimpl.TypeBuilder{
422 File: protoimpl.DescBuilder{
423 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
424 RawDescriptor: file_google_cloud_automl_v1_detection_proto_rawDesc,
425 NumEnums: 0,
426 NumMessages: 4,
427 NumExtensions: 0,
428 NumServices: 0,
429 },
430 GoTypes: file_google_cloud_automl_v1_detection_proto_goTypes,
431 DependencyIndexes: file_google_cloud_automl_v1_detection_proto_depIdxs,
432 MessageInfos: file_google_cloud_automl_v1_detection_proto_msgTypes,
433 }.Build()
434 File_google_cloud_automl_v1_detection_proto = out.File
435 file_google_cloud_automl_v1_detection_proto_rawDesc = nil
436 file_google_cloud_automl_v1_detection_proto_goTypes = nil
437 file_google_cloud_automl_v1_detection_proto_depIdxs = nil
438 }