Debian Codegraph @

automl/apiv1beta1/automlpb/image.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/v1beta1/image.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 // Dataset metadata that is specific to image classification.
38 type ImageClassificationDatasetMetadata struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Required. Type of the classification problem.
44 ClassificationType ClassificationType `protobuf:"varint,1,opt,name=classification_type,json=classificationType,proto3,enum=google.cloud.automl.v1beta1.ClassificationType" json:"classification_type,omitempty"`
45 }
46
47 func (x *ImageClassificationDatasetMetadata) Reset() {
48 *x = ImageClassificationDatasetMetadata{}
49 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[0]
50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
51 ms.StoreMessageInfo(mi)
52 }
53
54 func (x *ImageClassificationDatasetMetadata) String() string {
55 return protoimpl.X.MessageStringOf(x)
56 }
57
58 func (*ImageClassificationDatasetMetadata) ProtoMessage() {}
59
60 func (x *ImageClassificationDatasetMetadata) ProtoReflect() protoreflect.Message {
61 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[0]
62 if x != nil {
63 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
64 if ms.LoadMessageInfo() == nil {
65 ms.StoreMessageInfo(mi)
66 }
67 return ms
68 }
69 return mi.MessageOf(x)
70 }
71
72 // Deprecated: Use ImageClassificationDatasetMetadata.ProtoReflect.Descriptor instead.
73 func (*ImageClassificationDatasetMetadata) Descriptor() ([]byte, []int) {
74 return file_google_cloud_automl_v1beta1_image_proto_rawDescGZIP(), []int{0}
75 }
76
77 func (x *ImageClassificationDatasetMetadata) GetClassificationType() ClassificationType {
78 if x != nil {
79 return x.ClassificationType
80 }
81 return ClassificationType_CLASSIFICATION_TYPE_UNSPECIFIED
82 }
83
84 // Dataset metadata specific to image object detection.
85 type ImageObjectDetectionDatasetMetadata struct {
86 state protoimpl.MessageState
87 sizeCache protoimpl.SizeCache
88 unknownFields protoimpl.UnknownFields
89 }
90
91 func (x *ImageObjectDetectionDatasetMetadata) Reset() {
92 *x = ImageObjectDetectionDatasetMetadata{}
93 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[1]
94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95 ms.StoreMessageInfo(mi)
96 }
97
98 func (x *ImageObjectDetectionDatasetMetadata) String() string {
99 return protoimpl.X.MessageStringOf(x)
100 }
101
102 func (*ImageObjectDetectionDatasetMetadata) ProtoMessage() {}
103
104 func (x *ImageObjectDetectionDatasetMetadata) ProtoReflect() protoreflect.Message {
105 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[1]
106 if x != nil {
107 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
108 if ms.LoadMessageInfo() == nil {
109 ms.StoreMessageInfo(mi)
110 }
111 return ms
112 }
113 return mi.MessageOf(x)
114 }
115
116 // Deprecated: Use ImageObjectDetectionDatasetMetadata.ProtoReflect.Descriptor instead.
117 func (*ImageObjectDetectionDatasetMetadata) Descriptor() ([]byte, []int) {
118 return file_google_cloud_automl_v1beta1_image_proto_rawDescGZIP(), []int{1}
119 }
120
121 // Model metadata for image classification.
122 type ImageClassificationModelMetadata struct {
123 state protoimpl.MessageState
124 sizeCache protoimpl.SizeCache
125 unknownFields protoimpl.UnknownFields
126
127 // Optional. The ID of the `base` model. If it is specified, the new model
128 // will be created based on the `base` model. Otherwise, the new model will be
129 // created from scratch. The `base` model must be in the same
130 // `project` and `location` as the new model to create, and have the same
131 // `model_type`.
132 BaseModelId string `protobuf:"bytes,1,opt,name=base_model_id,json=baseModelId,proto3" json:"base_model_id,omitempty"`
133 // Required. The train budget of creating this model, expressed in hours. The
134 // actual `train_cost` will be equal or less than this value.
135 TrainBudget int64 `protobuf:"varint,2,opt,name=train_budget,json=trainBudget,proto3" json:"train_budget,omitempty"`
136 // Output only. The actual train cost of creating this model, expressed in
137 // hours. If this model is created from a `base` model, the train cost used
138 // to create the `base` model are not included.
139 TrainCost int64 `protobuf:"varint,3,opt,name=train_cost,json=trainCost,proto3" json:"train_cost,omitempty"`
140 // Output only. The reason that this create model operation stopped,
141 // e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
142 StopReason string `protobuf:"bytes,5,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"`
143 // Optional. Type of the model. The available values are:
144 // - `cloud` - Model to be used via prediction calls to AutoML API.
145 // This is the default value.
146 // - `mobile-low-latency-1` - A model that, in addition to providing
147 // prediction via AutoML API, can also be exported (see
148 // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile or edge device
149 // with TensorFlow afterwards. Expected to have low latency, but
150 // may have lower prediction quality than other models.
151 // - `mobile-versatile-1` - A model that, in addition to providing
152 // prediction via AutoML API, can also be exported (see
153 // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile or edge device
154 // with TensorFlow afterwards.
155 // - `mobile-high-accuracy-1` - A model that, in addition to providing
156 // prediction via AutoML API, can also be exported (see
157 // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile or edge device
158 // with TensorFlow afterwards. Expected to have a higher
159 // latency, but should also have a higher prediction quality
160 // than other models.
161 // - `mobile-core-ml-low-latency-1` - A model that, in addition to providing
162 // prediction via AutoML API, can also be exported (see
163 // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile device with Core
164 // ML afterwards. Expected to have low latency, but may have
165 // lower prediction quality than other models.
166 // - `mobile-core-ml-versatile-1` - A model that, in addition to providing
167 // prediction via AutoML API, can also be exported (see
168 // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile device with Core
169 // ML afterwards.
170 // - `mobile-core-ml-high-accuracy-1` - A model that, in addition to
171 // providing prediction via AutoML API, can also be exported
172 // (see [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile device with
173 // Core ML afterwards. Expected to have a higher latency, but
174 // should also have a higher prediction quality than other
175 // models.
176 ModelType string `protobuf:"bytes,7,opt,name=model_type,json=modelType,proto3" json:"model_type,omitempty"`
177 // Output only. An approximate number of online prediction QPS that can
178 // be supported by this model per each node on which it is deployed.
179 NodeQps float64 `protobuf:"fixed64,13,opt,name=node_qps,json=nodeQps,proto3" json:"node_qps,omitempty"`
180 // Output only. The number of nodes this model is deployed on. A node is an
181 // abstraction of a machine resource, which can handle online prediction QPS
182 // as given in the node_qps field.
183 NodeCount int64 `protobuf:"varint,14,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
184 }
185
186 func (x *ImageClassificationModelMetadata) Reset() {
187 *x = ImageClassificationModelMetadata{}
188 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[2]
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 ms.StoreMessageInfo(mi)
191 }
192
193 func (x *ImageClassificationModelMetadata) String() string {
194 return protoimpl.X.MessageStringOf(x)
195 }
196
197 func (*ImageClassificationModelMetadata) ProtoMessage() {}
198
199 func (x *ImageClassificationModelMetadata) ProtoReflect() protoreflect.Message {
200 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[2]
201 if x != nil {
202 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
203 if ms.LoadMessageInfo() == nil {
204 ms.StoreMessageInfo(mi)
205 }
206 return ms
207 }
208 return mi.MessageOf(x)
209 }
210
211 // Deprecated: Use ImageClassificationModelMetadata.ProtoReflect.Descriptor instead.
212 func (*ImageClassificationModelMetadata) Descriptor() ([]byte, []int) {
213 return file_google_cloud_automl_v1beta1_image_proto_rawDescGZIP(), []int{2}
214 }
215
216 func (x *ImageClassificationModelMetadata) GetBaseModelId() string {
217 if x != nil {
218 return x.BaseModelId
219 }
220 return ""
221 }
222
223 func (x *ImageClassificationModelMetadata) GetTrainBudget() int64 {
224 if x != nil {
225 return x.TrainBudget
226 }
227 return 0
228 }
229
230 func (x *ImageClassificationModelMetadata) GetTrainCost() int64 {
231 if x != nil {
232 return x.TrainCost
233 }
234 return 0
235 }
236
237 func (x *ImageClassificationModelMetadata) GetStopReason() string {
238 if x != nil {
239 return x.StopReason
240 }
241 return ""
242 }
243
244 func (x *ImageClassificationModelMetadata) GetModelType() string {
245 if x != nil {
246 return x.ModelType
247 }
248 return ""
249 }
250
251 func (x *ImageClassificationModelMetadata) GetNodeQps() float64 {
252 if x != nil {
253 return x.NodeQps
254 }
255 return 0
256 }
257
258 func (x *ImageClassificationModelMetadata) GetNodeCount() int64 {
259 if x != nil {
260 return x.NodeCount
261 }
262 return 0
263 }
264
265 // Model metadata specific to image object detection.
266 type ImageObjectDetectionModelMetadata struct {
267 state protoimpl.MessageState
268 sizeCache protoimpl.SizeCache
269 unknownFields protoimpl.UnknownFields
270
271 // Optional. Type of the model. The available values are:
272 // - `cloud-high-accuracy-1` - (default) A model to be used via prediction
273 // calls to AutoML API. Expected to have a higher latency, but
274 // should also have a higher prediction quality than other
275 // models.
276 // - `cloud-low-latency-1` - A model to be used via prediction
277 // calls to AutoML API. Expected to have low latency, but may
278 // have lower prediction quality than other models.
279 // - `mobile-low-latency-1` - A model that, in addition to providing
280 // prediction via AutoML API, can also be exported (see
281 // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile or edge device
282 // with TensorFlow afterwards. Expected to have low latency, but
283 // may have lower prediction quality than other models.
284 // - `mobile-versatile-1` - A model that, in addition to providing
285 // prediction via AutoML API, can also be exported (see
286 // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile or edge device
287 // with TensorFlow afterwards.
288 // - `mobile-high-accuracy-1` - A model that, in addition to providing
289 // prediction via AutoML API, can also be exported (see
290 // [AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel]) and used on a mobile or edge device
291 // with TensorFlow afterwards. Expected to have a higher
292 // latency, but should also have a higher prediction quality
293 // than other models.
294 ModelType string `protobuf:"bytes,1,opt,name=model_type,json=modelType,proto3" json:"model_type,omitempty"`
295 // Output only. The number of nodes this model is deployed on. A node is an
296 // abstraction of a machine resource, which can handle online prediction QPS
297 // as given in the qps_per_node field.
298 NodeCount int64 `protobuf:"varint,3,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
299 // Output only. An approximate number of online prediction QPS that can
300 // be supported by this model per each node on which it is deployed.
301 NodeQps float64 `protobuf:"fixed64,4,opt,name=node_qps,json=nodeQps,proto3" json:"node_qps,omitempty"`
302 // Output only. The reason that this create model operation stopped,
303 // e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`.
304 StopReason string `protobuf:"bytes,5,opt,name=stop_reason,json=stopReason,proto3" json:"stop_reason,omitempty"`
305 // The train budget of creating this model, expressed in milli node
306 // hours i.e. 1,000 value in this field means 1 node hour. The actual
307 // `train_cost` will be equal or less than this value. If further model
308 // training ceases to provide any improvements, it will stop without using
309 // full budget and the stop_reason will be `MODEL_CONVERGED`.
310 // Note, node_hour = actual_hour * number_of_nodes_invovled.
311 // For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`,
312 // the train budget must be between 20,000 and 900,000 milli node hours,
313 // inclusive. The default value is 216, 000 which represents one day in
314 // wall time.
315 // For model type `mobile-low-latency-1`, `mobile-versatile-1`,
316 // `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`,
317 // `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train
318 // budget must be between 1,000 and 100,000 milli node hours, inclusive.
319 // The default value is 24, 000 which represents one day in wall time.
320 TrainBudgetMilliNodeHours int64 `protobuf:"varint,6,opt,name=train_budget_milli_node_hours,json=trainBudgetMilliNodeHours,proto3" json:"train_budget_milli_node_hours,omitempty"`
321 // Output only. The actual train cost of creating this model, expressed in
322 // milli node hours, i.e. 1,000 value in this field means 1 node hour.
323 // Guaranteed to not exceed the train budget.
324 TrainCostMilliNodeHours int64 `protobuf:"varint,7,opt,name=train_cost_milli_node_hours,json=trainCostMilliNodeHours,proto3" json:"train_cost_milli_node_hours,omitempty"`
325 }
326
327 func (x *ImageObjectDetectionModelMetadata) Reset() {
328 *x = ImageObjectDetectionModelMetadata{}
329 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[3]
330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
331 ms.StoreMessageInfo(mi)
332 }
333
334 func (x *ImageObjectDetectionModelMetadata) String() string {
335 return protoimpl.X.MessageStringOf(x)
336 }
337
338 func (*ImageObjectDetectionModelMetadata) ProtoMessage() {}
339
340 func (x *ImageObjectDetectionModelMetadata) ProtoReflect() protoreflect.Message {
341 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[3]
342 if x != nil {
343 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
344 if ms.LoadMessageInfo() == nil {
345 ms.StoreMessageInfo(mi)
346 }
347 return ms
348 }
349 return mi.MessageOf(x)
350 }
351
352 // Deprecated: Use ImageObjectDetectionModelMetadata.ProtoReflect.Descriptor instead.
353 func (*ImageObjectDetectionModelMetadata) Descriptor() ([]byte, []int) {
354 return file_google_cloud_automl_v1beta1_image_proto_rawDescGZIP(), []int{3}
355 }
356
357 func (x *ImageObjectDetectionModelMetadata) GetModelType() string {
358 if x != nil {
359 return x.ModelType
360 }
361 return ""
362 }
363
364 func (x *ImageObjectDetectionModelMetadata) GetNodeCount() int64 {
365 if x != nil {
366 return x.NodeCount
367 }
368 return 0
369 }
370
371 func (x *ImageObjectDetectionModelMetadata) GetNodeQps() float64 {
372 if x != nil {
373 return x.NodeQps
374 }
375 return 0
376 }
377
378 func (x *ImageObjectDetectionModelMetadata) GetStopReason() string {
379 if x != nil {
380 return x.StopReason
381 }
382 return ""
383 }
384
385 func (x *ImageObjectDetectionModelMetadata) GetTrainBudgetMilliNodeHours() int64 {
386 if x != nil {
387 return x.TrainBudgetMilliNodeHours
388 }
389 return 0
390 }
391
392 func (x *ImageObjectDetectionModelMetadata) GetTrainCostMilliNodeHours() int64 {
393 if x != nil {
394 return x.TrainCostMilliNodeHours
395 }
396 return 0
397 }
398
399 // Model deployment metadata specific to Image Classification.
400 type ImageClassificationModelDeploymentMetadata struct {
401 state protoimpl.MessageState
402 sizeCache protoimpl.SizeCache
403 unknownFields protoimpl.UnknownFields
404
405 // Input only. The number of nodes to deploy the model on. A node is an
406 // abstraction of a machine resource, which can handle online prediction QPS
407 // as given in the model's
408 //
409 // [node_qps][google.cloud.automl.v1beta1.ImageClassificationModelMetadata.node_qps].
410 // Must be between 1 and 100, inclusive on both ends.
411 NodeCount int64 `protobuf:"varint,1,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
412 }
413
414 func (x *ImageClassificationModelDeploymentMetadata) Reset() {
415 *x = ImageClassificationModelDeploymentMetadata{}
416 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[4]
417 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
418 ms.StoreMessageInfo(mi)
419 }
420
421 func (x *ImageClassificationModelDeploymentMetadata) String() string {
422 return protoimpl.X.MessageStringOf(x)
423 }
424
425 func (*ImageClassificationModelDeploymentMetadata) ProtoMessage() {}
426
427 func (x *ImageClassificationModelDeploymentMetadata) ProtoReflect() protoreflect.Message {
428 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[4]
429 if x != nil {
430 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
431 if ms.LoadMessageInfo() == nil {
432 ms.StoreMessageInfo(mi)
433 }
434 return ms
435 }
436 return mi.MessageOf(x)
437 }
438
439 // Deprecated: Use ImageClassificationModelDeploymentMetadata.ProtoReflect.Descriptor instead.
440 func (*ImageClassificationModelDeploymentMetadata) Descriptor() ([]byte, []int) {
441 return file_google_cloud_automl_v1beta1_image_proto_rawDescGZIP(), []int{4}
442 }
443
444 func (x *ImageClassificationModelDeploymentMetadata) GetNodeCount() int64 {
445 if x != nil {
446 return x.NodeCount
447 }
448 return 0
449 }
450
451 // Model deployment metadata specific to Image Object Detection.
452 type ImageObjectDetectionModelDeploymentMetadata struct {
453 state protoimpl.MessageState
454 sizeCache protoimpl.SizeCache
455 unknownFields protoimpl.UnknownFields
456
457 // Input only. The number of nodes to deploy the model on. A node is an
458 // abstraction of a machine resource, which can handle online prediction QPS
459 // as given in the model's
460 //
461 // [qps_per_node][google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata.qps_per_node].
462 // Must be between 1 and 100, inclusive on both ends.
463 NodeCount int64 `protobuf:"varint,1,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"`
464 }
465
466 func (x *ImageObjectDetectionModelDeploymentMetadata) Reset() {
467 *x = ImageObjectDetectionModelDeploymentMetadata{}
468 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[5]
469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
470 ms.StoreMessageInfo(mi)
471 }
472
473 func (x *ImageObjectDetectionModelDeploymentMetadata) String() string {
474 return protoimpl.X.MessageStringOf(x)
475 }
476
477 func (*ImageObjectDetectionModelDeploymentMetadata) ProtoMessage() {}
478
479 func (x *ImageObjectDetectionModelDeploymentMetadata) ProtoReflect() protoreflect.Message {
480 mi := &file_google_cloud_automl_v1beta1_image_proto_msgTypes[5]
481 if x != nil {
482 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
483 if ms.LoadMessageInfo() == nil {
484 ms.StoreMessageInfo(mi)
485 }
486 return ms
487 }
488 return mi.MessageOf(x)
489 }
490
491 // Deprecated: Use ImageObjectDetectionModelDeploymentMetadata.ProtoReflect.Descriptor instead.
492 func (*ImageObjectDetectionModelDeploymentMetadata) Descriptor() ([]byte, []int) {
493 return file_google_cloud_automl_v1beta1_image_proto_rawDescGZIP(), []int{5}
494 }
495
496 func (x *ImageObjectDetectionModelDeploymentMetadata) GetNodeCount() int64 {
497 if x != nil {
498 return x.NodeCount
499 }
500 return 0
501 }
502
503 var File_google_cloud_automl_v1beta1_image_proto protoreflect.FileDescriptor
504
505 var file_google_cloud_automl_v1beta1_image_proto_rawDesc = []byte{
506 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
507 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x69, 0x6d,
508 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
509 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76,
510 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x31, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63,
511 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x62, 0x65,
512 0x74, 0x61, 0x31, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x73,
513 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
514 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76,
515 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
516 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x86, 0x01, 0x0a, 0x22,
517 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
518 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
519 0x74, 0x61, 0x12, 0x60, 0x0a, 0x13, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
520 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
521 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61,
522 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x6c,
523 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65,
524 0x52, 0x12, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
525 0x54, 0x79, 0x70, 0x65, 0x22, 0x25, 0x0a, 0x23, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a,
526 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61,
527 0x73, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x22, 0x82, 0x02, 0x0a, 0x20,
528 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74,
529 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
530 0x12, 0x22, 0x0a, 0x0d, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x69,
531 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x4d, 0x6f, 0x64,
532 0x65, 0x6c, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x62, 0x75,
533 0x64, 0x67, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0b, 0x74, 0x72, 0x61, 0x69,
534 0x6e, 0x42, 0x75, 0x64, 0x67, 0x65, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x72, 0x61, 0x69, 0x6e,
535 0x5f, 0x63, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x72, 0x61,
536 0x69, 0x6e, 0x43, 0x6f, 0x73, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x72,
537 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x6f,
538 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
539 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x64,
540 0x65, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x71,
541 0x70, 0x73, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x51, 0x70,
542 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18,
543 0x0e, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74,
544 0x22, 0x9d, 0x02, 0x0a, 0x21, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74,
545 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65,
546 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
547 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65,
548 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f,
549 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43,
550 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x71, 0x70, 0x73,
551 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x6e, 0x6f, 0x64, 0x65, 0x51, 0x70, 0x73, 0x12,
552 0x1f, 0x0a, 0x0b, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x18, 0x05,
553 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x74, 0x6f, 0x70, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e,
554 0x12, 0x40, 0x0a, 0x1d, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x62, 0x75, 0x64, 0x67, 0x65, 0x74,
555 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x6f, 0x75, 0x72,
556 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x19, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x42, 0x75,
557 0x64, 0x67, 0x65, 0x74, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75,
558 0x72, 0x73, 0x12, 0x3c, 0x0a, 0x1b, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x5f, 0x63, 0x6f, 0x73, 0x74,
559 0x5f, 0x6d, 0x69, 0x6c, 0x6c, 0x69, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x68, 0x6f, 0x75, 0x72,
560 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x17, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x43, 0x6f,
561 0x73, 0x74, 0x4d, 0x69, 0x6c, 0x6c, 0x69, 0x4e, 0x6f, 0x64, 0x65, 0x48, 0x6f, 0x75, 0x72, 0x73,
562 0x22, 0x4b, 0x0a, 0x2a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,
563 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x44, 0x65, 0x70, 0x6c,
564 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d,
565 0x0a, 0x0a, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
566 0x28, 0x03, 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x4c, 0x0a,
567 0x2b, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65,
568 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79,
569 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x1d, 0x0a, 0x0a,
570 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
571 0x52, 0x09, 0x6e, 0x6f, 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x42, 0xa7, 0x01, 0x0a, 0x1f,
572 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
573 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42,
574 0x0a, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x63,
575 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
576 0x67, 0x6f, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62,
577 0x65, 0x74, 0x61, 0x31, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75,
578 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c,
579 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56, 0x31, 0x62,
580 0x65, 0x74, 0x61, 0x31, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
581 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31,
582 0x62, 0x65, 0x74, 0x61, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
583 }
584
585 var (
586 file_google_cloud_automl_v1beta1_image_proto_rawDescOnce sync.Once
587 file_google_cloud_automl_v1beta1_image_proto_rawDescData = file_google_cloud_automl_v1beta1_image_proto_rawDesc
588 )
589
590 func file_google_cloud_automl_v1beta1_image_proto_rawDescGZIP() []byte {
591 file_google_cloud_automl_v1beta1_image_proto_rawDescOnce.Do(func() {
592 file_google_cloud_automl_v1beta1_image_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1beta1_image_proto_rawDescData)
593 })
594 return file_google_cloud_automl_v1beta1_image_proto_rawDescData
595 }
596
597 var file_google_cloud_automl_v1beta1_image_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
598 var file_google_cloud_automl_v1beta1_image_proto_goTypes = []any{
599 (*ImageClassificationDatasetMetadata)(nil), // 0: google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata
600 (*ImageObjectDetectionDatasetMetadata)(nil), // 1: google.cloud.automl.v1beta1.ImageObjectDetectionDatasetMetadata
601 (*ImageClassificationModelMetadata)(nil), // 2: google.cloud.automl.v1beta1.ImageClassificationModelMetadata
602 (*ImageObjectDetectionModelMetadata)(nil), // 3: google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata
603 (*ImageClassificationModelDeploymentMetadata)(nil), // 4: google.cloud.automl.v1beta1.ImageClassificationModelDeploymentMetadata
604 (*ImageObjectDetectionModelDeploymentMetadata)(nil), // 5: google.cloud.automl.v1beta1.ImageObjectDetectionModelDeploymentMetadata
605 (ClassificationType)(0), // 6: google.cloud.automl.v1beta1.ClassificationType
606 }
607 var file_google_cloud_automl_v1beta1_image_proto_depIdxs = []int32{
608 6, // 0: google.cloud.automl.v1beta1.ImageClassificationDatasetMetadata.classification_type:type_name -> google.cloud.automl.v1beta1.ClassificationType
609 1, // [1:1] is the sub-list for method output_type
610 1, // [1:1] is the sub-list for method input_type
611 1, // [1:1] is the sub-list for extension type_name
612 1, // [1:1] is the sub-list for extension extendee
613 0, // [0:1] is the sub-list for field type_name
614 }
615
616 func init() { file_google_cloud_automl_v1beta1_image_proto_init() }
617 func file_google_cloud_automl_v1beta1_image_proto_init() {
618 if File_google_cloud_automl_v1beta1_image_proto != nil {
619 return
620 }
621 file_google_cloud_automl_v1beta1_annotation_spec_proto_init()
622 file_google_cloud_automl_v1beta1_classification_proto_init()
623 type x struct{}
624 out := protoimpl.TypeBuilder{
625 File: protoimpl.DescBuilder{
626 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
627 RawDescriptor: file_google_cloud_automl_v1beta1_image_proto_rawDesc,
628 NumEnums: 0,
629 NumMessages: 6,
630 NumExtensions: 0,
631 NumServices: 0,
632 },
633 GoTypes: file_google_cloud_automl_v1beta1_image_proto_goTypes,
634 DependencyIndexes: file_google_cloud_automl_v1beta1_image_proto_depIdxs,
635 MessageInfos: file_google_cloud_automl_v1beta1_image_proto_msgTypes,
636 }.Build()
637 File_google_cloud_automl_v1beta1_image_proto = out.File
638 file_google_cloud_automl_v1beta1_image_proto_rawDesc = nil
639 file_google_cloud_automl_v1beta1_image_proto_goTypes = nil
640 file_google_cloud_automl_v1beta1_image_proto_depIdxs = nil
641 }