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