Debian Codegraph @

automl/apiv1/automlpb/model.pb.go

raw
1 // Copyright 2025 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.35.2
18 // protoc v4.25.7
19 // source: google/cloud/automl/v1/model.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 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Deployment state of the model.
40 type Model_DeploymentState int32
41
42 const (
43 // Should not be used, an un-set enum has this value by default.
44 Model_DEPLOYMENT_STATE_UNSPECIFIED Model_DeploymentState = 0
45 // Model is deployed.
46 Model_DEPLOYED Model_DeploymentState = 1
47 // Model is not deployed.
48 Model_UNDEPLOYED Model_DeploymentState = 2
49 )
50
51 // Enum value maps for Model_DeploymentState.
52 var (
53 Model_DeploymentState_name = map[int32]string{
54 0: "DEPLOYMENT_STATE_UNSPECIFIED",
55 1: "DEPLOYED",
56 2: "UNDEPLOYED",
57 }
58 Model_DeploymentState_value = map[string]int32{
59 "DEPLOYMENT_STATE_UNSPECIFIED": 0,
60 "DEPLOYED": 1,
61 "UNDEPLOYED": 2,
62 }
63 )
64
65 func (x Model_DeploymentState) Enum() *Model_DeploymentState {
66 p := new(Model_DeploymentState)
67 *p = x
68 return p
69 }
70
71 func (x Model_DeploymentState) String() string {
72 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
73 }
74
75 func (Model_DeploymentState) Descriptor() protoreflect.EnumDescriptor {
76 return file_google_cloud_automl_v1_model_proto_enumTypes[0].Descriptor()
77 }
78
79 func (Model_DeploymentState) Type() protoreflect.EnumType {
80 return &file_google_cloud_automl_v1_model_proto_enumTypes[0]
81 }
82
83 func (x Model_DeploymentState) Number() protoreflect.EnumNumber {
84 return protoreflect.EnumNumber(x)
85 }
86
87 // Deprecated: Use Model_DeploymentState.Descriptor instead.
88 func (Model_DeploymentState) EnumDescriptor() ([]byte, []int) {
89 return file_google_cloud_automl_v1_model_proto_rawDescGZIP(), []int{0, 0}
90 }
91
92 // API proto representing a trained machine learning model.
93 type Model struct {
94 state protoimpl.MessageState
95 sizeCache protoimpl.SizeCache
96 unknownFields protoimpl.UnknownFields
97
98 // Required.
99 // The model metadata that is specific to the problem type.
100 // Must match the metadata type of the dataset used to train the model.
101 //
102 // Types that are assignable to ModelMetadata:
103 //
104 // *Model_TranslationModelMetadata
105 // *Model_ImageClassificationModelMetadata
106 // *Model_TextClassificationModelMetadata
107 // *Model_ImageObjectDetectionModelMetadata
108 // *Model_TextExtractionModelMetadata
109 // *Model_TextSentimentModelMetadata
110 ModelMetadata isModel_ModelMetadata `protobuf_oneof:"model_metadata"`
111 // Output only. Resource name of the model.
112 // Format: `projects/{project_id}/locations/{location_id}/models/{model_id}`
113 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
114 // Required. The name of the model to show in the interface. The name can be
115 // up to 32 characters long and can consist only of ASCII Latin letters A-Z
116 // and a-z, underscores
117 // (_), and ASCII digits 0-9. It must start with a letter.
118 DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
119 // Required. The resource ID of the dataset used to create the model. The dataset must
120 // come from the same ancestor project and location.
121 DatasetId string `protobuf:"bytes,3,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
122 // Output only. Timestamp when the model training finished and can be used for prediction.
123 CreateTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
124 // Output only. Timestamp when this model was last updated.
125 UpdateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
126 // Output only. Deployment state of the model. A model can only serve
127 // prediction requests after it gets deployed.
128 DeploymentState Model_DeploymentState `protobuf:"varint,8,opt,name=deployment_state,json=deploymentState,proto3,enum=google.cloud.automl.v1.Model_DeploymentState" json:"deployment_state,omitempty"`
129 // Used to perform a consistent read-modify-write updates. If not set, a blind
130 // "overwrite" update happens.
131 Etag string `protobuf:"bytes,10,opt,name=etag,proto3" json:"etag,omitempty"`
132 // Optional. The labels with user-defined metadata to organize your model.
133 //
134 // Label keys and values can be no longer than 64 characters
135 // (Unicode codepoints), can only contain lowercase letters, numeric
136 // characters, underscores and dashes. International characters are allowed.
137 // Label values are optional. Label keys must start with a letter.
138 //
139 // See https://goo.gl/xmQnxf for more information on and examples of labels.
140 Labels map[string]string `protobuf:"bytes,34,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
141 }
142
143 func (x *Model) Reset() {
144 *x = Model{}
145 mi := &file_google_cloud_automl_v1_model_proto_msgTypes[0]
146 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
147 ms.StoreMessageInfo(mi)
148 }
149
150 func (x *Model) String() string {
151 return protoimpl.X.MessageStringOf(x)
152 }
153
154 func (*Model) ProtoMessage() {}
155
156 func (x *Model) ProtoReflect() protoreflect.Message {
157 mi := &file_google_cloud_automl_v1_model_proto_msgTypes[0]
158 if x != nil {
159 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
160 if ms.LoadMessageInfo() == nil {
161 ms.StoreMessageInfo(mi)
162 }
163 return ms
164 }
165 return mi.MessageOf(x)
166 }
167
168 // Deprecated: Use Model.ProtoReflect.Descriptor instead.
169 func (*Model) Descriptor() ([]byte, []int) {
170 return file_google_cloud_automl_v1_model_proto_rawDescGZIP(), []int{0}
171 }
172
173 func (m *Model) GetModelMetadata() isModel_ModelMetadata {
174 if m != nil {
175 return m.ModelMetadata
176 }
177 return nil
178 }
179
180 func (x *Model) GetTranslationModelMetadata() *TranslationModelMetadata {
181 if x, ok := x.GetModelMetadata().(*Model_TranslationModelMetadata); ok {
182 return x.TranslationModelMetadata
183 }
184 return nil
185 }
186
187 func (x *Model) GetImageClassificationModelMetadata() *ImageClassificationModelMetadata {
188 if x, ok := x.GetModelMetadata().(*Model_ImageClassificationModelMetadata); ok {
189 return x.ImageClassificationModelMetadata
190 }
191 return nil
192 }
193
194 func (x *Model) GetTextClassificationModelMetadata() *TextClassificationModelMetadata {
195 if x, ok := x.GetModelMetadata().(*Model_TextClassificationModelMetadata); ok {
196 return x.TextClassificationModelMetadata
197 }
198 return nil
199 }
200
201 func (x *Model) GetImageObjectDetectionModelMetadata() *ImageObjectDetectionModelMetadata {
202 if x, ok := x.GetModelMetadata().(*Model_ImageObjectDetectionModelMetadata); ok {
203 return x.ImageObjectDetectionModelMetadata
204 }
205 return nil
206 }
207
208 func (x *Model) GetTextExtractionModelMetadata() *TextExtractionModelMetadata {
209 if x, ok := x.GetModelMetadata().(*Model_TextExtractionModelMetadata); ok {
210 return x.TextExtractionModelMetadata
211 }
212 return nil
213 }
214
215 func (x *Model) GetTextSentimentModelMetadata() *TextSentimentModelMetadata {
216 if x, ok := x.GetModelMetadata().(*Model_TextSentimentModelMetadata); ok {
217 return x.TextSentimentModelMetadata
218 }
219 return nil
220 }
221
222 func (x *Model) GetName() string {
223 if x != nil {
224 return x.Name
225 }
226 return ""
227 }
228
229 func (x *Model) GetDisplayName() string {
230 if x != nil {
231 return x.DisplayName
232 }
233 return ""
234 }
235
236 func (x *Model) GetDatasetId() string {
237 if x != nil {
238 return x.DatasetId
239 }
240 return ""
241 }
242
243 func (x *Model) GetCreateTime() *timestamppb.Timestamp {
244 if x != nil {
245 return x.CreateTime
246 }
247 return nil
248 }
249
250 func (x *Model) GetUpdateTime() *timestamppb.Timestamp {
251 if x != nil {
252 return x.UpdateTime
253 }
254 return nil
255 }
256
257 func (x *Model) GetDeploymentState() Model_DeploymentState {
258 if x != nil {
259 return x.DeploymentState
260 }
261 return Model_DEPLOYMENT_STATE_UNSPECIFIED
262 }
263
264 func (x *Model) GetEtag() string {
265 if x != nil {
266 return x.Etag
267 }
268 return ""
269 }
270
271 func (x *Model) GetLabels() map[string]string {
272 if x != nil {
273 return x.Labels
274 }
275 return nil
276 }
277
278 type isModel_ModelMetadata interface {
279 isModel_ModelMetadata()
280 }
281
282 type Model_TranslationModelMetadata struct {
283 // Metadata for translation models.
284 TranslationModelMetadata *TranslationModelMetadata `protobuf:"bytes,15,opt,name=translation_model_metadata,json=translationModelMetadata,proto3,oneof"`
285 }
286
287 type Model_ImageClassificationModelMetadata struct {
288 // Metadata for image classification models.
289 ImageClassificationModelMetadata *ImageClassificationModelMetadata `protobuf:"bytes,13,opt,name=image_classification_model_metadata,json=imageClassificationModelMetadata,proto3,oneof"`
290 }
291
292 type Model_TextClassificationModelMetadata struct {
293 // Metadata for text classification models.
294 TextClassificationModelMetadata *TextClassificationModelMetadata `protobuf:"bytes,14,opt,name=text_classification_model_metadata,json=textClassificationModelMetadata,proto3,oneof"`
295 }
296
297 type Model_ImageObjectDetectionModelMetadata struct {
298 // Metadata for image object detection models.
299 ImageObjectDetectionModelMetadata *ImageObjectDetectionModelMetadata `protobuf:"bytes,20,opt,name=image_object_detection_model_metadata,json=imageObjectDetectionModelMetadata,proto3,oneof"`
300 }
301
302 type Model_TextExtractionModelMetadata struct {
303 // Metadata for text extraction models.
304 TextExtractionModelMetadata *TextExtractionModelMetadata `protobuf:"bytes,19,opt,name=text_extraction_model_metadata,json=textExtractionModelMetadata,proto3,oneof"`
305 }
306
307 type Model_TextSentimentModelMetadata struct {
308 // Metadata for text sentiment models.
309 TextSentimentModelMetadata *TextSentimentModelMetadata `protobuf:"bytes,22,opt,name=text_sentiment_model_metadata,json=textSentimentModelMetadata,proto3,oneof"`
310 }
311
312 func (*Model_TranslationModelMetadata) isModel_ModelMetadata() {}
313
314 func (*Model_ImageClassificationModelMetadata) isModel_ModelMetadata() {}
315
316 func (*Model_TextClassificationModelMetadata) isModel_ModelMetadata() {}
317
318 func (*Model_ImageObjectDetectionModelMetadata) isModel_ModelMetadata() {}
319
320 func (*Model_TextExtractionModelMetadata) isModel_ModelMetadata() {}
321
322 func (*Model_TextSentimentModelMetadata) isModel_ModelMetadata() {}
323
324 var File_google_cloud_automl_v1_model_proto protoreflect.FileDescriptor
325
326 var file_google_cloud_automl_v1_model_proto_rawDesc = []byte{
327 0x0a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61,
328 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x70,
329 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
330 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f,
331 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
332 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
333 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f,
334 0x69, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x67, 0x6f, 0x6f,
335 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
336 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28,
337 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x61, 0x75, 0x74,
338 0x6f, 0x6d, 0x6c, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69,
339 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
340 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
341 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8e, 0x0b, 0x0a, 0x05, 0x4d, 0x6f,
342 0x64, 0x65, 0x6c, 0x12, 0x70, 0x0a, 0x1a, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69,
343 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
344 0x61, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
345 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31,
346 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65,
347 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x18, 0x74, 0x72, 0x61,
348 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74,
349 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x89, 0x01, 0x0a, 0x23, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f,
350 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d,
351 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0d, 0x20,
352 0x01, 0x28, 0x0b, 0x32, 0x38, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
353 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61,
354 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
355 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52,
356 0x20, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61,
357 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
358 0x61, 0x12, 0x86, 0x01, 0x0a, 0x22, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73,
359 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f,
360 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37,
361 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75,
362 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x43, 0x6c, 0x61, 0x73,
363 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d,
364 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x1f, 0x74, 0x65, 0x78, 0x74, 0x43,
365 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64,
366 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x8d, 0x01, 0x0a, 0x25, 0x69,
367 0x6d, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x64, 0x65, 0x74, 0x65,
368 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61,
369 0x64, 0x61, 0x74, 0x61, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f,
370 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c,
371 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x44,
372 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74,
373 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x21, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x4f, 0x62,
374 0x6a, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64,
375 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x7a, 0x0a, 0x1e, 0x74, 0x65,
376 0x78, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x6f,
377 0x64, 0x65, 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x13, 0x20, 0x01,
378 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
379 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74,
380 0x45, 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d,
381 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x48, 0x00, 0x52, 0x1b, 0x74, 0x65, 0x78, 0x74, 0x45,
382 0x78, 0x74, 0x72, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65,
383 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x77, 0x0a, 0x1d, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x73,
384 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x5f, 0x6d,
385 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e,
386 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
387 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69,
388 0x6d, 0x65, 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74,
389 0x61, 0x48, 0x00, 0x52, 0x1a, 0x74, 0x65, 0x78, 0x74, 0x53, 0x65, 0x6e, 0x74, 0x69, 0x6d, 0x65,
390 0x6e, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
391 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
392 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e,
393 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c,
394 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65,
395 0x74, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61,
396 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f,
397 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
398 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
399 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69,
400 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d,
401 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
402 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
403 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12,
404 0x58, 0x0a, 0x10, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74,
405 0x61, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
406 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e,
407 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x44, 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d,
408 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0f, 0x64, 0x65, 0x70, 0x6c, 0x6f, 0x79,
409 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x74, 0x61,
410 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x65, 0x74, 0x61, 0x67, 0x12, 0x41, 0x0a,
411 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x22, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e,
412 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x75, 0x74,
413 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x4c, 0x61, 0x62,
414 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73,
415 0x1a, 0x39, 0x0a, 0x0b, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
416 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
417 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
418 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x51, 0x0a, 0x0f, 0x44,
419 0x65, 0x70, 0x6c, 0x6f, 0x79, 0x6d, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x20,
420 0x0a, 0x1c, 0x44, 0x45, 0x50, 0x4c, 0x4f, 0x59, 0x4d, 0x45, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41,
421 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00,
422 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x45, 0x50, 0x4c, 0x4f, 0x59, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0e,
423 0x0a, 0x0a, 0x55, 0x4e, 0x44, 0x45, 0x50, 0x4c, 0x4f, 0x59, 0x45, 0x44, 0x10, 0x02, 0x3a, 0x58,
424 0xea, 0x41, 0x55, 0x0a, 0x1b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
425 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
426 0x12, 0x36, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a,
427 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b,
428 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73,
429 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x7d, 0x42, 0x10, 0x0a, 0x0e, 0x6d, 0x6f, 0x64, 0x65,
430 0x6c, 0x5f, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x42, 0xa0, 0x01, 0x0a, 0x1a, 0x63,
431 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
432 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2e, 0x76, 0x31, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f,
433 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f,
434 0x2f, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x61, 0x75,
435 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0x3b, 0x61, 0x75, 0x74, 0x6f, 0x6d, 0x6c, 0x70, 0x62, 0xaa,
436 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x41,
437 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
438 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x6c, 0x5c, 0x56,
439 0x31, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75,
440 0x64, 0x3a, 0x3a, 0x41, 0x75, 0x74, 0x6f, 0x4d, 0x4c, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
441 0x72, 0x6f, 0x74, 0x6f, 0x33,
442 }
443
444 var (
445 file_google_cloud_automl_v1_model_proto_rawDescOnce sync.Once
446 file_google_cloud_automl_v1_model_proto_rawDescData = file_google_cloud_automl_v1_model_proto_rawDesc
447 )
448
449 func file_google_cloud_automl_v1_model_proto_rawDescGZIP() []byte {
450 file_google_cloud_automl_v1_model_proto_rawDescOnce.Do(func() {
451 file_google_cloud_automl_v1_model_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_automl_v1_model_proto_rawDescData)
452 })
453 return file_google_cloud_automl_v1_model_proto_rawDescData
454 }
455
456 var file_google_cloud_automl_v1_model_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
457 var file_google_cloud_automl_v1_model_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
458 var file_google_cloud_automl_v1_model_proto_goTypes = []any{
459 (Model_DeploymentState)(0), // 0: google.cloud.automl.v1.Model.DeploymentState
460 (*Model)(nil), // 1: google.cloud.automl.v1.Model
461 nil, // 2: google.cloud.automl.v1.Model.LabelsEntry
462 (*TranslationModelMetadata)(nil), // 3: google.cloud.automl.v1.TranslationModelMetadata
463 (*ImageClassificationModelMetadata)(nil), // 4: google.cloud.automl.v1.ImageClassificationModelMetadata
464 (*TextClassificationModelMetadata)(nil), // 5: google.cloud.automl.v1.TextClassificationModelMetadata
465 (*ImageObjectDetectionModelMetadata)(nil), // 6: google.cloud.automl.v1.ImageObjectDetectionModelMetadata
466 (*TextExtractionModelMetadata)(nil), // 7: google.cloud.automl.v1.TextExtractionModelMetadata
467 (*TextSentimentModelMetadata)(nil), // 8: google.cloud.automl.v1.TextSentimentModelMetadata
468 (*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
469 }
470 var file_google_cloud_automl_v1_model_proto_depIdxs = []int32{
471 3, // 0: google.cloud.automl.v1.Model.translation_model_metadata:type_name -> google.cloud.automl.v1.TranslationModelMetadata
472 4, // 1: google.cloud.automl.v1.Model.image_classification_model_metadata:type_name -> google.cloud.automl.v1.ImageClassificationModelMetadata
473 5, // 2: google.cloud.automl.v1.Model.text_classification_model_metadata:type_name -> google.cloud.automl.v1.TextClassificationModelMetadata
474 6, // 3: google.cloud.automl.v1.Model.image_object_detection_model_metadata:type_name -> google.cloud.automl.v1.ImageObjectDetectionModelMetadata
475 7, // 4: google.cloud.automl.v1.Model.text_extraction_model_metadata:type_name -> google.cloud.automl.v1.TextExtractionModelMetadata
476 8, // 5: google.cloud.automl.v1.Model.text_sentiment_model_metadata:type_name -> google.cloud.automl.v1.TextSentimentModelMetadata
477 9, // 6: google.cloud.automl.v1.Model.create_time:type_name -> google.protobuf.Timestamp
478 9, // 7: google.cloud.automl.v1.Model.update_time:type_name -> google.protobuf.Timestamp
479 0, // 8: google.cloud.automl.v1.Model.deployment_state:type_name -> google.cloud.automl.v1.Model.DeploymentState
480 2, // 9: google.cloud.automl.v1.Model.labels:type_name -> google.cloud.automl.v1.Model.LabelsEntry
481 10, // [10:10] is the sub-list for method output_type
482 10, // [10:10] is the sub-list for method input_type
483 10, // [10:10] is the sub-list for extension type_name
484 10, // [10:10] is the sub-list for extension extendee
485 0, // [0:10] is the sub-list for field type_name
486 }
487
488 func init() { file_google_cloud_automl_v1_model_proto_init() }
489 func file_google_cloud_automl_v1_model_proto_init() {
490 if File_google_cloud_automl_v1_model_proto != nil {
491 return
492 }
493 file_google_cloud_automl_v1_image_proto_init()
494 file_google_cloud_automl_v1_text_proto_init()
495 file_google_cloud_automl_v1_translation_proto_init()
496 file_google_cloud_automl_v1_model_proto_msgTypes[0].OneofWrappers = []any{
497 (*Model_TranslationModelMetadata)(nil),
498 (*Model_ImageClassificationModelMetadata)(nil),
499 (*Model_TextClassificationModelMetadata)(nil),
500 (*Model_ImageObjectDetectionModelMetadata)(nil),
501 (*Model_TextExtractionModelMetadata)(nil),
502 (*Model_TextSentimentModelMetadata)(nil),
503 }
504 type x struct{}
505 out := protoimpl.TypeBuilder{
506 File: protoimpl.DescBuilder{
507 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
508 RawDescriptor: file_google_cloud_automl_v1_model_proto_rawDesc,
509 NumEnums: 1,
510 NumMessages: 2,
511 NumExtensions: 0,
512 NumServices: 0,
513 },
514 GoTypes: file_google_cloud_automl_v1_model_proto_goTypes,
515 DependencyIndexes: file_google_cloud_automl_v1_model_proto_depIdxs,
516 EnumInfos: file_google_cloud_automl_v1_model_proto_enumTypes,
517 MessageInfos: file_google_cloud_automl_v1_model_proto_msgTypes,
518 }.Build()
519 File_google_cloud_automl_v1_model_proto = out.File
520 file_google_cloud_automl_v1_model_proto_rawDesc = nil
521 file_google_cloud_automl_v1_model_proto_goTypes = nil
522 file_google_cloud_automl_v1_model_proto_depIdxs = nil
523 }