| 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/v1beta1/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 |
durationpb "google.golang.org/protobuf/types/known/durationpb" |
| 27 |
reflect "reflect" |
| 28 |
sync "sync" |
| 29 |
) |
| 30 |
|
| 31 |
const ( |
| 32 |
// Verify that this generated code is sufficiently up-to-date. |
| 33 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 34 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 35 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 36 |
) |
| 37 |
|
| 38 |
// Annotation details for image object detection. |
| 39 |
type ImageObjectDetectionAnnotation struct { |
| 40 |
state protoimpl.MessageState |
| 41 |
sizeCache protoimpl.SizeCache |
| 42 |
unknownFields protoimpl.UnknownFields |
| 43 |
|
| 44 |
// Output only. The rectangle representing the object location. |
| 45 |
BoundingBox *BoundingPoly `protobuf:"bytes,1,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` |
| 46 |
// Output only. The confidence that this annotation is positive for the parent example, |
| 47 |
// value in [0, 1], higher means higher positivity confidence. |
| 48 |
Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` |
| 49 |
} |
| 50 |
|
| 51 |
func (x *ImageObjectDetectionAnnotation) Reset() { |
| 52 |
*x = ImageObjectDetectionAnnotation{} |
| 53 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[0] |
| 54 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 55 |
ms.StoreMessageInfo(mi) |
| 56 |
} |
| 57 |
|
| 58 |
func (x *ImageObjectDetectionAnnotation) String() string { |
| 59 |
return protoimpl.X.MessageStringOf(x) |
| 60 |
} |
| 61 |
|
| 62 |
func (*ImageObjectDetectionAnnotation) ProtoMessage() {} |
| 63 |
|
| 64 |
func (x *ImageObjectDetectionAnnotation) ProtoReflect() protoreflect.Message { |
| 65 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[0] |
| 66 |
if x != nil { |
| 67 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 68 |
if ms.LoadMessageInfo() == nil { |
| 69 |
ms.StoreMessageInfo(mi) |
| 70 |
} |
| 71 |
return ms |
| 72 |
} |
| 73 |
return mi.MessageOf(x) |
| 74 |
} |
| 75 |
|
| 76 |
// Deprecated: Use ImageObjectDetectionAnnotation.ProtoReflect.Descriptor instead. |
| 77 |
func (*ImageObjectDetectionAnnotation) Descriptor() ([]byte, []int) { |
| 78 |
return file_google_cloud_automl_v1beta1_detection_proto_rawDescGZIP(), []int{0} |
| 79 |
} |
| 80 |
|
| 81 |
func (x *ImageObjectDetectionAnnotation) GetBoundingBox() *BoundingPoly { |
| 82 |
if x != nil { |
| 83 |
return x.BoundingBox |
| 84 |
} |
| 85 |
return nil |
| 86 |
} |
| 87 |
|
| 88 |
func (x *ImageObjectDetectionAnnotation) GetScore() float32 { |
| 89 |
if x != nil { |
| 90 |
return x.Score |
| 91 |
} |
| 92 |
return 0 |
| 93 |
} |
| 94 |
|
| 95 |
// Annotation details for video object tracking. |
| 96 |
type VideoObjectTrackingAnnotation struct { |
| 97 |
state protoimpl.MessageState |
| 98 |
sizeCache protoimpl.SizeCache |
| 99 |
unknownFields protoimpl.UnknownFields |
| 100 |
|
| 101 |
// Optional. The instance of the object, expressed as a positive integer. Used to tell |
| 102 |
// apart objects of the same type (i.e. AnnotationSpec) when multiple are |
| 103 |
// present on a single example. |
| 104 |
// NOTE: Instance ID prediction quality is not a part of model evaluation and |
| 105 |
// is done as best effort. Especially in cases when an entity goes |
| 106 |
// off-screen for a longer time (minutes), when it comes back it may be given |
| 107 |
// a new instance ID. |
| 108 |
InstanceId string `protobuf:"bytes,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` |
| 109 |
// Required. A time (frame) of a video to which this annotation pertains. |
| 110 |
// Represented as the duration since the video's start. |
| 111 |
TimeOffset *durationpb.Duration `protobuf:"bytes,2,opt,name=time_offset,json=timeOffset,proto3" json:"time_offset,omitempty"` |
| 112 |
// Required. The rectangle representing the object location on the frame (i.e. |
| 113 |
// at the time_offset of the video). |
| 114 |
BoundingBox *BoundingPoly `protobuf:"bytes,3,opt,name=bounding_box,json=boundingBox,proto3" json:"bounding_box,omitempty"` |
| 115 |
// Output only. The confidence that this annotation is positive for the video at |
| 116 |
// the time_offset, value in [0, 1], higher means higher positivity |
| 117 |
// confidence. For annotations created by the user the score is 1. When |
| 118 |
// user approves an annotation, the original float score is kept (and not |
| 119 |
// changed to 1). |
| 120 |
Score float32 `protobuf:"fixed32,4,opt,name=score,proto3" json:"score,omitempty"` |
| 121 |
} |
| 122 |
|
| 123 |
func (x *VideoObjectTrackingAnnotation) Reset() { |
| 124 |
*x = VideoObjectTrackingAnnotation{} |
| 125 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[1] |
| 126 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 127 |
ms.StoreMessageInfo(mi) |
| 128 |
} |
| 129 |
|
| 130 |
func (x *VideoObjectTrackingAnnotation) String() string { |
| 131 |
return protoimpl.X.MessageStringOf(x) |
| 132 |
} |
| 133 |
|
| 134 |
func (*VideoObjectTrackingAnnotation) ProtoMessage() {} |
| 135 |
|
| 136 |
func (x *VideoObjectTrackingAnnotation) ProtoReflect() protoreflect.Message { |
| 137 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[1] |
| 138 |
if x != nil { |
| 139 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 140 |
if ms.LoadMessageInfo() == nil { |
| 141 |
ms.StoreMessageInfo(mi) |
| 142 |
} |
| 143 |
return ms |
| 144 |
} |
| 145 |
return mi.MessageOf(x) |
| 146 |
} |
| 147 |
|
| 148 |
// Deprecated: Use VideoObjectTrackingAnnotation.ProtoReflect.Descriptor instead. |
| 149 |
func (*VideoObjectTrackingAnnotation) Descriptor() ([]byte, []int) { |
| 150 |
return file_google_cloud_automl_v1beta1_detection_proto_rawDescGZIP(), []int{1} |
| 151 |
} |
| 152 |
|
| 153 |
func (x *VideoObjectTrackingAnnotation) GetInstanceId() string { |
| 154 |
if x != nil { |
| 155 |
return x.InstanceId |
| 156 |
} |
| 157 |
return "" |
| 158 |
} |
| 159 |
|
| 160 |
func (x *VideoObjectTrackingAnnotation) GetTimeOffset() *durationpb.Duration { |
| 161 |
if x != nil { |
| 162 |
return x.TimeOffset |
| 163 |
} |
| 164 |
return nil |
| 165 |
} |
| 166 |
|
| 167 |
func (x *VideoObjectTrackingAnnotation) GetBoundingBox() *BoundingPoly { |
| 168 |
if x != nil { |
| 169 |
return x.BoundingBox |
| 170 |
} |
| 171 |
return nil |
| 172 |
} |
| 173 |
|
| 174 |
func (x *VideoObjectTrackingAnnotation) GetScore() float32 { |
| 175 |
if x != nil { |
| 176 |
return x.Score |
| 177 |
} |
| 178 |
return 0 |
| 179 |
} |
| 180 |
|
| 181 |
// Bounding box matching model metrics for a single intersection-over-union |
| 182 |
// threshold and multiple label match confidence thresholds. |
| 183 |
type BoundingBoxMetricsEntry struct { |
| 184 |
state protoimpl.MessageState |
| 185 |
sizeCache protoimpl.SizeCache |
| 186 |
unknownFields protoimpl.UnknownFields |
| 187 |
|
| 188 |
// Output only. The intersection-over-union threshold value used to compute |
| 189 |
// this metrics entry. |
| 190 |
IouThreshold float32 `protobuf:"fixed32,1,opt,name=iou_threshold,json=iouThreshold,proto3" json:"iou_threshold,omitempty"` |
| 191 |
// Output only. The mean average precision, most often close to au_prc. |
| 192 |
MeanAveragePrecision float32 `protobuf:"fixed32,2,opt,name=mean_average_precision,json=meanAveragePrecision,proto3" json:"mean_average_precision,omitempty"` |
| 193 |
// Output only. Metrics for each label-match confidence_threshold from |
| 194 |
// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is |
| 195 |
// derived from them. |
| 196 |
ConfidenceMetricsEntries []*BoundingBoxMetricsEntry_ConfidenceMetricsEntry `protobuf:"bytes,3,rep,name=confidence_metrics_entries,json=confidenceMetricsEntries,proto3" json:"confidence_metrics_entries,omitempty"` |
| 197 |
} |
| 198 |
|
| 199 |
func (x *BoundingBoxMetricsEntry) Reset() { |
| 200 |
*x = BoundingBoxMetricsEntry{} |
| 201 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[2] |
| 202 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 203 |
ms.StoreMessageInfo(mi) |
| 204 |
} |
| 205 |
|
| 206 |
func (x *BoundingBoxMetricsEntry) String() string { |
| 207 |
return protoimpl.X.MessageStringOf(x) |
| 208 |
} |
| 209 |
|
| 210 |
func (*BoundingBoxMetricsEntry) ProtoMessage() {} |
| 211 |
|
| 212 |
func (x *BoundingBoxMetricsEntry) ProtoReflect() protoreflect.Message { |
| 213 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[2] |
| 214 |
if x != nil { |
| 215 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 216 |
if ms.LoadMessageInfo() == nil { |
| 217 |
ms.StoreMessageInfo(mi) |
| 218 |
} |
| 219 |
return ms |
| 220 |
} |
| 221 |
return mi.MessageOf(x) |
| 222 |
} |
| 223 |
|
| 224 |
// Deprecated: Use BoundingBoxMetricsEntry.ProtoReflect.Descriptor instead. |
| 225 |
func (*BoundingBoxMetricsEntry) Descriptor() ([]byte, []int) { |
| 226 |
return file_google_cloud_automl_v1beta1_detection_proto_rawDescGZIP(), []int{2} |
| 227 |
} |
| 228 |
|
| 229 |
func (x *BoundingBoxMetricsEntry) GetIouThreshold() float32 { |
| 230 |
if x != nil { |
| 231 |
return x.IouThreshold |
| 232 |
} |
| 233 |
return 0 |
| 234 |
} |
| 235 |
|
| 236 |
func (x *BoundingBoxMetricsEntry) GetMeanAveragePrecision() float32 { |
| 237 |
if x != nil { |
| 238 |
return x.MeanAveragePrecision |
| 239 |
} |
| 240 |
return 0 |
| 241 |
} |
| 242 |
|
| 243 |
func (x *BoundingBoxMetricsEntry) GetConfidenceMetricsEntries() []*BoundingBoxMetricsEntry_ConfidenceMetricsEntry { |
| 244 |
if x != nil { |
| 245 |
return x.ConfidenceMetricsEntries |
| 246 |
} |
| 247 |
return nil |
| 248 |
} |
| 249 |
|
| 250 |
// Model evaluation metrics for image object detection problems. |
| 251 |
// Evaluates prediction quality of labeled bounding boxes. |
| 252 |
type ImageObjectDetectionEvaluationMetrics struct { |
| 253 |
state protoimpl.MessageState |
| 254 |
sizeCache protoimpl.SizeCache |
| 255 |
unknownFields protoimpl.UnknownFields |
| 256 |
|
| 257 |
// Output only. The total number of bounding boxes (i.e. summed over all |
| 258 |
// images) the ground truth used to create this evaluation had. |
| 259 |
EvaluatedBoundingBoxCount int32 `protobuf:"varint,1,opt,name=evaluated_bounding_box_count,json=evaluatedBoundingBoxCount,proto3" json:"evaluated_bounding_box_count,omitempty"` |
| 260 |
// Output only. The bounding boxes match metrics for each |
| 261 |
// Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 |
| 262 |
// and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 |
| 263 |
// pair. |
| 264 |
BoundingBoxMetricsEntries []*BoundingBoxMetricsEntry `protobuf:"bytes,2,rep,name=bounding_box_metrics_entries,json=boundingBoxMetricsEntries,proto3" json:"bounding_box_metrics_entries,omitempty"` |
| 265 |
// Output only. The single metric for bounding boxes evaluation: |
| 266 |
// the mean_average_precision averaged over all bounding_box_metrics_entries. |
| 267 |
BoundingBoxMeanAveragePrecision float32 `protobuf:"fixed32,3,opt,name=bounding_box_mean_average_precision,json=boundingBoxMeanAveragePrecision,proto3" json:"bounding_box_mean_average_precision,omitempty"` |
| 268 |
} |
| 269 |
|
| 270 |
func (x *ImageObjectDetectionEvaluationMetrics) Reset() { |
| 271 |
*x = ImageObjectDetectionEvaluationMetrics{} |
| 272 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[3] |
| 273 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 274 |
ms.StoreMessageInfo(mi) |
| 275 |
} |
| 276 |
|
| 277 |
func (x *ImageObjectDetectionEvaluationMetrics) String() string { |
| 278 |
return protoimpl.X.MessageStringOf(x) |
| 279 |
} |
| 280 |
|
| 281 |
func (*ImageObjectDetectionEvaluationMetrics) ProtoMessage() {} |
| 282 |
|
| 283 |
func (x *ImageObjectDetectionEvaluationMetrics) ProtoReflect() protoreflect.Message { |
| 284 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[3] |
| 285 |
if x != nil { |
| 286 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 287 |
if ms.LoadMessageInfo() == nil { |
| 288 |
ms.StoreMessageInfo(mi) |
| 289 |
} |
| 290 |
return ms |
| 291 |
} |
| 292 |
return mi.MessageOf(x) |
| 293 |
} |
| 294 |
|
| 295 |
// Deprecated: Use ImageObjectDetectionEvaluationMetrics.ProtoReflect.Descriptor instead. |
| 296 |
func (*ImageObjectDetectionEvaluationMetrics) Descriptor() ([]byte, []int) { |
| 297 |
return file_google_cloud_automl_v1beta1_detection_proto_rawDescGZIP(), []int{3} |
| 298 |
} |
| 299 |
|
| 300 |
func (x *ImageObjectDetectionEvaluationMetrics) GetEvaluatedBoundingBoxCount() int32 { |
| 301 |
if x != nil { |
| 302 |
return x.EvaluatedBoundingBoxCount |
| 303 |
} |
| 304 |
return 0 |
| 305 |
} |
| 306 |
|
| 307 |
func (x *ImageObjectDetectionEvaluationMetrics) GetBoundingBoxMetricsEntries() []*BoundingBoxMetricsEntry { |
| 308 |
if x != nil { |
| 309 |
return x.BoundingBoxMetricsEntries |
| 310 |
} |
| 311 |
return nil |
| 312 |
} |
| 313 |
|
| 314 |
func (x *ImageObjectDetectionEvaluationMetrics) GetBoundingBoxMeanAveragePrecision() float32 { |
| 315 |
if x != nil { |
| 316 |
return x.BoundingBoxMeanAveragePrecision |
| 317 |
} |
| 318 |
return 0 |
| 319 |
} |
| 320 |
|
| 321 |
// Model evaluation metrics for video object tracking problems. |
| 322 |
// Evaluates prediction quality of both labeled bounding boxes and labeled |
| 323 |
// tracks (i.e. series of bounding boxes sharing same label and instance ID). |
| 324 |
type VideoObjectTrackingEvaluationMetrics struct { |
| 325 |
state protoimpl.MessageState |
| 326 |
sizeCache protoimpl.SizeCache |
| 327 |
unknownFields protoimpl.UnknownFields |
| 328 |
|
| 329 |
// Output only. The number of video frames used to create this evaluation. |
| 330 |
EvaluatedFrameCount int32 `protobuf:"varint,1,opt,name=evaluated_frame_count,json=evaluatedFrameCount,proto3" json:"evaluated_frame_count,omitempty"` |
| 331 |
// Output only. The total number of bounding boxes (i.e. summed over all |
| 332 |
// frames) the ground truth used to create this evaluation had. |
| 333 |
EvaluatedBoundingBoxCount int32 `protobuf:"varint,2,opt,name=evaluated_bounding_box_count,json=evaluatedBoundingBoxCount,proto3" json:"evaluated_bounding_box_count,omitempty"` |
| 334 |
// Output only. The bounding boxes match metrics for each |
| 335 |
// Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 |
| 336 |
// and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 |
| 337 |
// pair. |
| 338 |
BoundingBoxMetricsEntries []*BoundingBoxMetricsEntry `protobuf:"bytes,4,rep,name=bounding_box_metrics_entries,json=boundingBoxMetricsEntries,proto3" json:"bounding_box_metrics_entries,omitempty"` |
| 339 |
// Output only. The single metric for bounding boxes evaluation: |
| 340 |
// the mean_average_precision averaged over all bounding_box_metrics_entries. |
| 341 |
BoundingBoxMeanAveragePrecision float32 `protobuf:"fixed32,6,opt,name=bounding_box_mean_average_precision,json=boundingBoxMeanAveragePrecision,proto3" json:"bounding_box_mean_average_precision,omitempty"` |
| 342 |
} |
| 343 |
|
| 344 |
func (x *VideoObjectTrackingEvaluationMetrics) Reset() { |
| 345 |
*x = VideoObjectTrackingEvaluationMetrics{} |
| 346 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[4] |
| 347 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 348 |
ms.StoreMessageInfo(mi) |
| 349 |
} |
| 350 |
|
| 351 |
func (x *VideoObjectTrackingEvaluationMetrics) String() string { |
| 352 |
return protoimpl.X.MessageStringOf(x) |
| 353 |
} |
| 354 |
|
| 355 |
func (*VideoObjectTrackingEvaluationMetrics) ProtoMessage() {} |
| 356 |
|
| 357 |
func (x *VideoObjectTrackingEvaluationMetrics) ProtoReflect() protoreflect.Message { |
| 358 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[4] |
| 359 |
if x != nil { |
| 360 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 361 |
if ms.LoadMessageInfo() == nil { |
| 362 |
ms.StoreMessageInfo(mi) |
| 363 |
} |
| 364 |
return ms |
| 365 |
} |
| 366 |
return mi.MessageOf(x) |
| 367 |
} |
| 368 |
|
| 369 |
// Deprecated: Use VideoObjectTrackingEvaluationMetrics.ProtoReflect.Descriptor instead. |
| 370 |
func (*VideoObjectTrackingEvaluationMetrics) Descriptor() ([]byte, []int) { |
| 371 |
return file_google_cloud_automl_v1beta1_detection_proto_rawDescGZIP(), []int{4} |
| 372 |
} |
| 373 |
|
| 374 |
func (x *VideoObjectTrackingEvaluationMetrics) GetEvaluatedFrameCount() int32 { |
| 375 |
if x != nil { |
| 376 |
return x.EvaluatedFrameCount |
| 377 |
} |
| 378 |
return 0 |
| 379 |
} |
| 380 |
|
| 381 |
func (x *VideoObjectTrackingEvaluationMetrics) GetEvaluatedBoundingBoxCount() int32 { |
| 382 |
if x != nil { |
| 383 |
return x.EvaluatedBoundingBoxCount |
| 384 |
} |
| 385 |
return 0 |
| 386 |
} |
| 387 |
|
| 388 |
func (x *VideoObjectTrackingEvaluationMetrics) GetBoundingBoxMetricsEntries() []*BoundingBoxMetricsEntry { |
| 389 |
if x != nil { |
| 390 |
return x.BoundingBoxMetricsEntries |
| 391 |
} |
| 392 |
return nil |
| 393 |
} |
| 394 |
|
| 395 |
func (x *VideoObjectTrackingEvaluationMetrics) GetBoundingBoxMeanAveragePrecision() float32 { |
| 396 |
if x != nil { |
| 397 |
return x.BoundingBoxMeanAveragePrecision |
| 398 |
} |
| 399 |
return 0 |
| 400 |
} |
| 401 |
|
| 402 |
// Metrics for a single confidence threshold. |
| 403 |
type BoundingBoxMetricsEntry_ConfidenceMetricsEntry struct { |
| 404 |
state protoimpl.MessageState |
| 405 |
sizeCache protoimpl.SizeCache |
| 406 |
unknownFields protoimpl.UnknownFields |
| 407 |
|
| 408 |
// Output only. The confidence threshold value used to compute the metrics. |
| 409 |
ConfidenceThreshold float32 `protobuf:"fixed32,1,opt,name=confidence_threshold,json=confidenceThreshold,proto3" json:"confidence_threshold,omitempty"` |
| 410 |
// Output only. Recall under the given confidence threshold. |
| 411 |
Recall float32 `protobuf:"fixed32,2,opt,name=recall,proto3" json:"recall,omitempty"` |
| 412 |
// Output only. Precision under the given confidence threshold. |
| 413 |
Precision float32 `protobuf:"fixed32,3,opt,name=precision,proto3" json:"precision,omitempty"` |
| 414 |
// Output only. The harmonic mean of recall and precision. |
| 415 |
F1Score float32 `protobuf:"fixed32,4,opt,name=f1_score,json=f1Score,proto3" json:"f1_score,omitempty"` |
| 416 |
} |
| 417 |
|
| 418 |
func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) Reset() { |
| 419 |
*x = BoundingBoxMetricsEntry_ConfidenceMetricsEntry{} |
| 420 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[5] |
| 421 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 422 |
ms.StoreMessageInfo(mi) |
| 423 |
} |
| 424 |
|
| 425 |
func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) String() string { |
| 426 |
return protoimpl.X.MessageStringOf(x) |
| 427 |
} |
| 428 |
|
| 429 |
func (*BoundingBoxMetricsEntry_ConfidenceMetricsEntry) ProtoMessage() {} |
| 430 |
|
| 431 |
func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) ProtoReflect() protoreflect.Message { |
| 432 |
mi := &file_google_cloud_automl_v1beta1_detection_proto_msgTypes[5] |
| 433 |
if x != nil { |
| 434 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 435 |
if ms.LoadMessageInfo() == nil { |
| 436 |
ms.StoreMessageInfo(mi) |
| 437 |
} |
| 438 |
return ms |
| 439 |
} |
| 440 |
return mi.MessageOf(x) |
| 441 |
} |
| 442 |
|
| 443 |
// Deprecated: Use BoundingBoxMetricsEntry_ConfidenceMetricsEntry.ProtoReflect.Descriptor instead. |
| 444 |
func (*BoundingBoxMetricsEntry_ConfidenceMetricsEntry) Descriptor() ([]byte, []int) { |
| 445 |
return file_google_cloud_automl_v1beta1_detection_proto_rawDescGZIP(), []int{2, 0} |
| 446 |
} |
| 447 |
|
| 448 |
func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetConfidenceThreshold() float32 { |
| 449 |
if x != nil { |
| 450 |
return x.ConfidenceThreshold |
| 451 |
} |
| 452 |
return 0 |
| 453 |
} |
| 454 |
|
| 455 |
func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetRecall() float32 { |
| 456 |
if x != nil { |
| 457 |
return x.Recall |
| 458 |
} |
| 459 |
return 0 |
| 460 |
} |
| 461 |
|
| 462 |
func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetPrecision() float32 { |
| 463 |
if x != nil { |
| 464 |
return x.Precision |
| 465 |
} |
| 466 |
return 0 |
| 467 |
} |
| 468 |
|
| 469 |
func (x *BoundingBoxMetricsEntry_ConfidenceMetricsEntry) GetF1Score() float32 { |
| 470 |
if x != nil { |
| 471 |
return x.F1Score |
| 472 |
} |
| 473 |
return 0 |
| 474 |
} |
| 475 |
|
| 476 |
var File_google_cloud_automl_v1beta1_detection_proto protoreflect.FileDescriptor |
| 477 |
|
| 478 |
var file_google_cloud_automl_v1beta1_detection_proto_rawDesc = []byte{ |
| 479 |
0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, |
| 480 |
0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x64, 0x65, |
| 481 |
0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, |
| 482 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, |
| 483 |
0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, |
| 484 |
0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, |
| 485 |
0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, |
| 486 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, |
| 487 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 488 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x84, 0x01, 0x0a, 0x1e, 0x49, 0x6d, 0x61, 0x67, 0x65, |
| 489 |
0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, |
| 490 |
0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4c, 0x0a, 0x0c, 0x62, 0x6f, 0x75, |
| 491 |
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, |
| 492 |
0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, |
| 493 |
0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, |
| 494 |
0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0b, 0x62, 0x6f, 0x75, 0x6e, |
| 495 |
0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, |
| 496 |
0x18, 0x02, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, 0x22, 0xe0, 0x01, |
| 497 |
0x0a, 0x1d, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x72, 0x61, |
| 498 |
0x63, 0x6b, 0x69, 0x6e, 0x67, 0x41, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, |
| 499 |
0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x01, |
| 500 |
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x49, 0x64, |
| 501 |
0x12, 0x3a, 0x0a, 0x0b, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, |
| 502 |
0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, |
| 503 |
0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, |
| 504 |
0x52, 0x0a, 0x74, 0x69, 0x6d, 0x65, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x4c, 0x0a, 0x0c, |
| 505 |
0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x18, 0x03, 0x20, 0x01, |
| 506 |
0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, |
| 507 |
0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, |
| 508 |
0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x50, 0x6f, 0x6c, 0x79, 0x52, 0x0b, 0x62, |
| 509 |
0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, |
| 510 |
0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x72, 0x65, |
| 511 |
0x22, 0x9f, 0x03, 0x0a, 0x17, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, |
| 512 |
0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, |
| 513 |
0x69, 0x6f, 0x75, 0x5f, 0x74, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, |
| 514 |
0x01, 0x28, 0x02, 0x52, 0x0c, 0x69, 0x6f, 0x75, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, |
| 515 |
0x64, 0x12, 0x34, 0x0a, 0x16, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, |
| 516 |
0x65, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 517 |
0x02, 0x52, 0x14, 0x6d, 0x65, 0x61, 0x6e, 0x41, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, |
| 518 |
0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x89, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6e, 0x66, |
| 519 |
0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x65, |
| 520 |
0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4b, 0x2e, 0x67, |
| 521 |
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, |
| 522 |
0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, |
| 523 |
0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, |
| 524 |
0x72, 0x79, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, |
| 525 |
0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x18, 0x63, 0x6f, 0x6e, 0x66, 0x69, |
| 526 |
0x64, 0x65, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, |
| 527 |
0x69, 0x65, 0x73, 0x1a, 0x9c, 0x01, 0x0a, 0x16, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, |
| 528 |
0x63, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x31, |
| 529 |
0x0a, 0x14, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x68, 0x72, |
| 530 |
0x65, 0x73, 0x68, 0x6f, 0x6c, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x02, 0x52, 0x13, 0x63, 0x6f, |
| 531 |
0x6e, 0x66, 0x69, 0x64, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x68, 0x72, 0x65, 0x73, 0x68, 0x6f, 0x6c, |
| 532 |
0x64, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, |
| 533 |
0x02, 0x52, 0x06, 0x72, 0x65, 0x63, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x72, 0x65, |
| 534 |
0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x02, 0x52, 0x09, 0x70, 0x72, |
| 535 |
0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a, 0x08, 0x66, 0x31, 0x5f, 0x73, 0x63, |
| 536 |
0x6f, 0x72, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x02, 0x52, 0x07, 0x66, 0x31, 0x53, 0x63, 0x6f, |
| 537 |
0x72, 0x65, 0x22, 0xad, 0x02, 0x0a, 0x25, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, |
| 538 |
0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x45, 0x76, 0x61, 0x6c, 0x75, |
| 539 |
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x3f, 0x0a, 0x1c, |
| 540 |
0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, |
| 541 |
0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, |
| 542 |
0x28, 0x05, 0x52, 0x19, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x42, 0x6f, 0x75, |
| 543 |
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x75, 0x0a, |
| 544 |
0x1c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x6d, 0x65, |
| 545 |
0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, |
| 546 |
0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, |
| 547 |
0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, |
| 548 |
0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x74, |
| 549 |
0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, 0x62, 0x6f, 0x75, 0x6e, 0x64, |
| 550 |
0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, |
| 551 |
0x72, 0x69, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x23, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, |
| 552 |
0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x61, 0x76, 0x65, 0x72, 0x61, 0x67, |
| 553 |
0x65, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, |
| 554 |
0x02, 0x52, 0x1f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, |
| 555 |
0x61, 0x6e, 0x41, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, |
| 556 |
0x6f, 0x6e, 0x22, 0xe0, 0x02, 0x0a, 0x24, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x4f, 0x62, 0x6a, 0x65, |
| 557 |
0x63, 0x74, 0x54, 0x72, 0x61, 0x63, 0x6b, 0x69, 0x6e, 0x67, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, |
| 558 |
0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x65, |
| 559 |
0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x72, 0x61, 0x6d, 0x65, 0x5f, 0x63, |
| 560 |
0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x13, 0x65, 0x76, 0x61, 0x6c, |
| 561 |
0x75, 0x61, 0x74, 0x65, 0x64, 0x46, 0x72, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, |
| 562 |
0x3f, 0x0a, 0x1c, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x6f, 0x75, |
| 563 |
0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, |
| 564 |
0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x19, 0x65, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x64, |
| 565 |
0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x43, 0x6f, 0x75, 0x6e, 0x74, |
| 566 |
0x12, 0x75, 0x0a, 0x1c, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, |
| 567 |
0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, |
| 568 |
0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, |
| 569 |
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, |
| 570 |
0x65, 0x74, 0x61, 0x31, 0x2e, 0x42, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, |
| 571 |
0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x19, 0x62, 0x6f, |
| 572 |
0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, 0x78, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, |
| 573 |
0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x23, 0x62, 0x6f, 0x75, 0x6e, 0x64, |
| 574 |
0x69, 0x6e, 0x67, 0x5f, 0x62, 0x6f, 0x78, 0x5f, 0x6d, 0x65, 0x61, 0x6e, 0x5f, 0x61, 0x76, 0x65, |
| 575 |
0x72, 0x61, 0x67, 0x65, 0x5f, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, |
| 576 |
0x20, 0x01, 0x28, 0x02, 0x52, 0x1f, 0x62, 0x6f, 0x75, 0x6e, 0x64, 0x69, 0x6e, 0x67, 0x42, 0x6f, |
| 577 |
0x78, 0x4d, 0x65, 0x61, 0x6e, 0x41, 0x76, 0x65, 0x72, 0x61, 0x67, 0x65, 0x50, 0x72, 0x65, 0x63, |
| 578 |
0x69, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x9b, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, |
| 579 |
0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, |
| 580 |
0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, |
| 581 |
0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, |
| 582 |
0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, |
| 583 |
0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, |
| 584 |
0x6d, 0x6c, 0x70, 0x62, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, |
| 585 |
0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0x62, 0x65, 0x74, |
| 586 |
0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, |
| 587 |
0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x65, |
| 588 |
0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 589 |
} |
| 590 |
|
| 591 |
var ( |
| 592 |
file_google_cloud_automl_v1beta1_detection_proto_rawDescOnce sync.Once |
| 593 |
file_google_cloud_automl_v1beta1_detection_proto_rawDescData = file_google_cloud_automl_v1beta1_detection_proto_rawDesc |
| 594 |
) |
| 595 |
|
| 596 |
func file_google_cloud_automl_v1beta1_detection_proto_rawDescGZIP() []byte { |
| 597 |
file_google_cloud_automl_v1beta1_detection_proto_rawDescOnce.Do(func() { |
| 598 |
file_google_cloud_automl_v1beta1_detection_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_detection_proto_rawDescData) |
| 599 |
}) |
| 600 |
return file_google_cloud_automl_v1beta1_detection_proto_rawDescData |
| 601 |
} |
| 602 |
|
| 603 |
var file_google_cloud_automl_v1beta1_detection_proto_msgTypes = make([]protoimpl.MessageInfo, 6) |
| 604 |
var file_google_cloud_automl_v1beta1_detection_proto_goTypes = []any{ |
| 605 |
(*ImageObjectDetectionAnnotation)(nil), // 0: google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation |
| 606 |
(*VideoObjectTrackingAnnotation)(nil), // 1: google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation |
| 607 |
(*BoundingBoxMetricsEntry)(nil), // 2: google.cloud.automl.v1beta1.BoundingBoxMetricsEntry |
| 608 |
(*ImageObjectDetectionEvaluationMetrics)(nil), // 3: google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics |
| 609 |
(*VideoObjectTrackingEvaluationMetrics)(nil), // 4: google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics |
| 610 |
(*BoundingBoxMetricsEntry_ConfidenceMetricsEntry)(nil), // 5: google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry |
| 611 |
(*BoundingPoly)(nil), // 6: google.cloud.automl.v1beta1.BoundingPoly |
| 612 |
(*durationpb.Duration)(nil), // 7: google.protobuf.Duration |
| 613 |
} |
| 614 |
var file_google_cloud_automl_v1beta1_detection_proto_depIdxs = []int32{ |
| 615 |
6, // 0: google.cloud.automl.v1beta1.ImageObjectDetectionAnnotation.bounding_box:type_name -> google.cloud.automl.v1beta1.BoundingPoly |
| 616 |
7, // 1: google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation.time_offset:type_name -> google.protobuf.Duration |
| 617 |
6, // 2: google.cloud.automl.v1beta1.VideoObjectTrackingAnnotation.bounding_box:type_name -> google.cloud.automl.v1beta1.BoundingPoly |
| 618 |
5, // 3: google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.confidence_metrics_entries:type_name -> google.cloud.automl.v1beta1.BoundingBoxMetricsEntry.ConfidenceMetricsEntry |
| 619 |
2, // 4: google.cloud.automl.v1beta1.ImageObjectDetectionEvaluationMetrics.bounding_box_metrics_entries:type_name -> google.cloud.automl.v1beta1.BoundingBoxMetricsEntry |
| 620 |
2, // 5: google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics.bounding_box_metrics_entries:type_name -> google.cloud.automl.v1beta1.BoundingBoxMetricsEntry |
| 621 |
6, // [6:6] is the sub-list for method output_type |
| 622 |
6, // [6:6] is the sub-list for method input_type |
| 623 |
6, // [6:6] is the sub-list for extension type_name |
| 624 |
6, // [6:6] is the sub-list for extension extendee |
| 625 |
0, // [0:6] is the sub-list for field type_name |
| 626 |
} |
| 627 |
|
| 628 |
func init() { file_google_cloud_automl_v1beta1_detection_proto_init() } |
| 629 |
func file_google_cloud_automl_v1beta1_detection_proto_init() { |
| 630 |
if File_google_cloud_automl_v1beta1_detection_proto != nil { |
| 631 |
return |
| 632 |
} |
| 633 |
file_google_cloud_automl_v1beta1_geometry_proto_init() |
| 634 |
type x struct{} |
| 635 |
out := protoimpl.TypeBuilder{ |
| 636 |
File: protoimpl.DescBuilder{ |
| 637 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 638 |
RawDescriptor: file_google_cloud_automl_v1beta1_detection_proto_rawDesc, |
| 639 |
NumEnums: 0, |
| 640 |
NumMessages: 6, |
| 641 |
NumExtensions: 0, |
| 642 |
NumServices: 0, |
| 643 |
}, |
| 644 |
GoTypes: file_google_cloud_automl_v1beta1_detection_proto_goTypes, |
| 645 |
DependencyIndexes: file_google_cloud_automl_v1beta1_detection_proto_depIdxs, |
| 646 |
MessageInfos: file_google_cloud_automl_v1beta1_detection_proto_msgTypes, |
| 647 |
}.Build() |
| 648 |
File_google_cloud_automl_v1beta1_detection_proto = out.File |
| 649 |
file_google_cloud_automl_v1beta1_detection_proto_rawDesc = nil |
| 650 |
file_google_cloud_automl_v1beta1_detection_proto_goTypes = nil |
| 651 |
file_google_cloud_automl_v1beta1_detection_proto_depIdxs = nil |
| 652 |
} |