Debian Codegraph @

retail/apiv2beta/retailpb/model_service.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/retail/v2beta/model_service.proto
20
21 package retailpb
22
23 import (
24 longrunningpb "cloud.google.com/go/longrunning/autogen/longrunningpb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 emptypb "google.golang.org/protobuf/types/known/emptypb"
33 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
34 reflect "reflect"
35 sync "sync"
36 )
37
38 const (
39 // Verify that this generated code is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
41 // Verify that runtime/protoimpl is sufficiently up-to-date.
42 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
43 )
44
45 // Request for creating a model.
46 type CreateModelRequest struct {
47 state protoimpl.MessageState
48 sizeCache protoimpl.SizeCache
49 unknownFields protoimpl.UnknownFields
50
51 // Required. The parent resource under which to create the model. Format:
52 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
53 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
54 // Required. The payload of the [Model][google.cloud.retail.v2beta.Model] to
55 // create.
56 Model *Model `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
57 // Optional. Whether to run a dry run to validate the request (without
58 // actually creating the model).
59 DryRun bool `protobuf:"varint,3,opt,name=dry_run,json=dryRun,proto3" json:"dry_run,omitempty"`
60 }
61
62 func (x *CreateModelRequest) Reset() {
63 *x = CreateModelRequest{}
64 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[0]
65 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
66 ms.StoreMessageInfo(mi)
67 }
68
69 func (x *CreateModelRequest) String() string {
70 return protoimpl.X.MessageStringOf(x)
71 }
72
73 func (*CreateModelRequest) ProtoMessage() {}
74
75 func (x *CreateModelRequest) ProtoReflect() protoreflect.Message {
76 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[0]
77 if x != nil {
78 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
79 if ms.LoadMessageInfo() == nil {
80 ms.StoreMessageInfo(mi)
81 }
82 return ms
83 }
84 return mi.MessageOf(x)
85 }
86
87 // Deprecated: Use CreateModelRequest.ProtoReflect.Descriptor instead.
88 func (*CreateModelRequest) Descriptor() ([]byte, []int) {
89 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{0}
90 }
91
92 func (x *CreateModelRequest) GetParent() string {
93 if x != nil {
94 return x.Parent
95 }
96 return ""
97 }
98
99 func (x *CreateModelRequest) GetModel() *Model {
100 if x != nil {
101 return x.Model
102 }
103 return nil
104 }
105
106 func (x *CreateModelRequest) GetDryRun() bool {
107 if x != nil {
108 return x.DryRun
109 }
110 return false
111 }
112
113 // Request for updating an existing model.
114 type UpdateModelRequest struct {
115 state protoimpl.MessageState
116 sizeCache protoimpl.SizeCache
117 unknownFields protoimpl.UnknownFields
118
119 // Required. The body of the updated
120 // [Model][google.cloud.retail.v2beta.Model].
121 Model *Model `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
122 // Optional. Indicates which fields in the provided 'model' to
123 // update. If not set, by default updates all fields.
124 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
125 }
126
127 func (x *UpdateModelRequest) Reset() {
128 *x = UpdateModelRequest{}
129 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[1]
130 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
131 ms.StoreMessageInfo(mi)
132 }
133
134 func (x *UpdateModelRequest) String() string {
135 return protoimpl.X.MessageStringOf(x)
136 }
137
138 func (*UpdateModelRequest) ProtoMessage() {}
139
140 func (x *UpdateModelRequest) ProtoReflect() protoreflect.Message {
141 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[1]
142 if x != nil {
143 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
144 if ms.LoadMessageInfo() == nil {
145 ms.StoreMessageInfo(mi)
146 }
147 return ms
148 }
149 return mi.MessageOf(x)
150 }
151
152 // Deprecated: Use UpdateModelRequest.ProtoReflect.Descriptor instead.
153 func (*UpdateModelRequest) Descriptor() ([]byte, []int) {
154 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{1}
155 }
156
157 func (x *UpdateModelRequest) GetModel() *Model {
158 if x != nil {
159 return x.Model
160 }
161 return nil
162 }
163
164 func (x *UpdateModelRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
165 if x != nil {
166 return x.UpdateMask
167 }
168 return nil
169 }
170
171 // Request for getting a model.
172 type GetModelRequest struct {
173 state protoimpl.MessageState
174 sizeCache protoimpl.SizeCache
175 unknownFields protoimpl.UnknownFields
176
177 // Required. The resource name of the
178 // [Model][google.cloud.retail.v2beta.Model] to get. Format:
179 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog}/models/{model_id}`
180 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
181 }
182
183 func (x *GetModelRequest) Reset() {
184 *x = GetModelRequest{}
185 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[2]
186 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
187 ms.StoreMessageInfo(mi)
188 }
189
190 func (x *GetModelRequest) String() string {
191 return protoimpl.X.MessageStringOf(x)
192 }
193
194 func (*GetModelRequest) ProtoMessage() {}
195
196 func (x *GetModelRequest) ProtoReflect() protoreflect.Message {
197 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[2]
198 if x != nil {
199 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
200 if ms.LoadMessageInfo() == nil {
201 ms.StoreMessageInfo(mi)
202 }
203 return ms
204 }
205 return mi.MessageOf(x)
206 }
207
208 // Deprecated: Use GetModelRequest.ProtoReflect.Descriptor instead.
209 func (*GetModelRequest) Descriptor() ([]byte, []int) {
210 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{2}
211 }
212
213 func (x *GetModelRequest) GetName() string {
214 if x != nil {
215 return x.Name
216 }
217 return ""
218 }
219
220 // Request for pausing training of a model.
221 type PauseModelRequest struct {
222 state protoimpl.MessageState
223 sizeCache protoimpl.SizeCache
224 unknownFields protoimpl.UnknownFields
225
226 // Required. The name of the model to pause.
227 // Format:
228 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`
229 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
230 }
231
232 func (x *PauseModelRequest) Reset() {
233 *x = PauseModelRequest{}
234 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[3]
235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
236 ms.StoreMessageInfo(mi)
237 }
238
239 func (x *PauseModelRequest) String() string {
240 return protoimpl.X.MessageStringOf(x)
241 }
242
243 func (*PauseModelRequest) ProtoMessage() {}
244
245 func (x *PauseModelRequest) ProtoReflect() protoreflect.Message {
246 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[3]
247 if x != nil {
248 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
249 if ms.LoadMessageInfo() == nil {
250 ms.StoreMessageInfo(mi)
251 }
252 return ms
253 }
254 return mi.MessageOf(x)
255 }
256
257 // Deprecated: Use PauseModelRequest.ProtoReflect.Descriptor instead.
258 func (*PauseModelRequest) Descriptor() ([]byte, []int) {
259 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{3}
260 }
261
262 func (x *PauseModelRequest) GetName() string {
263 if x != nil {
264 return x.Name
265 }
266 return ""
267 }
268
269 // Request for resuming training of a model.
270 type ResumeModelRequest struct {
271 state protoimpl.MessageState
272 sizeCache protoimpl.SizeCache
273 unknownFields protoimpl.UnknownFields
274
275 // Required. The name of the model to resume.
276 // Format:
277 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`
278 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
279 }
280
281 func (x *ResumeModelRequest) Reset() {
282 *x = ResumeModelRequest{}
283 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[4]
284 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
285 ms.StoreMessageInfo(mi)
286 }
287
288 func (x *ResumeModelRequest) String() string {
289 return protoimpl.X.MessageStringOf(x)
290 }
291
292 func (*ResumeModelRequest) ProtoMessage() {}
293
294 func (x *ResumeModelRequest) ProtoReflect() protoreflect.Message {
295 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[4]
296 if x != nil {
297 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
298 if ms.LoadMessageInfo() == nil {
299 ms.StoreMessageInfo(mi)
300 }
301 return ms
302 }
303 return mi.MessageOf(x)
304 }
305
306 // Deprecated: Use ResumeModelRequest.ProtoReflect.Descriptor instead.
307 func (*ResumeModelRequest) Descriptor() ([]byte, []int) {
308 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{4}
309 }
310
311 func (x *ResumeModelRequest) GetName() string {
312 if x != nil {
313 return x.Name
314 }
315 return ""
316 }
317
318 // Request for listing models associated with a resource.
319 type ListModelsRequest struct {
320 state protoimpl.MessageState
321 sizeCache protoimpl.SizeCache
322 unknownFields protoimpl.UnknownFields
323
324 // Required. The parent for which to list models.
325 // Format:
326 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}`
327 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
328 // Optional. Maximum number of results to return. If unspecified, defaults
329 // to 50. Max allowed value is 1000.
330 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
331 // Optional. A page token, received from a previous `ListModels`
332 // call. Provide this to retrieve the subsequent page.
333 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
334 }
335
336 func (x *ListModelsRequest) Reset() {
337 *x = ListModelsRequest{}
338 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[5]
339 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
340 ms.StoreMessageInfo(mi)
341 }
342
343 func (x *ListModelsRequest) String() string {
344 return protoimpl.X.MessageStringOf(x)
345 }
346
347 func (*ListModelsRequest) ProtoMessage() {}
348
349 func (x *ListModelsRequest) ProtoReflect() protoreflect.Message {
350 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[5]
351 if x != nil {
352 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
353 if ms.LoadMessageInfo() == nil {
354 ms.StoreMessageInfo(mi)
355 }
356 return ms
357 }
358 return mi.MessageOf(x)
359 }
360
361 // Deprecated: Use ListModelsRequest.ProtoReflect.Descriptor instead.
362 func (*ListModelsRequest) Descriptor() ([]byte, []int) {
363 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{5}
364 }
365
366 func (x *ListModelsRequest) GetParent() string {
367 if x != nil {
368 return x.Parent
369 }
370 return ""
371 }
372
373 func (x *ListModelsRequest) GetPageSize() int32 {
374 if x != nil {
375 return x.PageSize
376 }
377 return 0
378 }
379
380 func (x *ListModelsRequest) GetPageToken() string {
381 if x != nil {
382 return x.PageToken
383 }
384 return ""
385 }
386
387 // Request for deleting a model.
388 type DeleteModelRequest struct {
389 state protoimpl.MessageState
390 sizeCache protoimpl.SizeCache
391 unknownFields protoimpl.UnknownFields
392
393 // Required. The resource name of the
394 // [Model][google.cloud.retail.v2beta.Model] to delete. Format:
395 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`
396 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
397 }
398
399 func (x *DeleteModelRequest) Reset() {
400 *x = DeleteModelRequest{}
401 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[6]
402 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
403 ms.StoreMessageInfo(mi)
404 }
405
406 func (x *DeleteModelRequest) String() string {
407 return protoimpl.X.MessageStringOf(x)
408 }
409
410 func (*DeleteModelRequest) ProtoMessage() {}
411
412 func (x *DeleteModelRequest) ProtoReflect() protoreflect.Message {
413 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[6]
414 if x != nil {
415 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
416 if ms.LoadMessageInfo() == nil {
417 ms.StoreMessageInfo(mi)
418 }
419 return ms
420 }
421 return mi.MessageOf(x)
422 }
423
424 // Deprecated: Use DeleteModelRequest.ProtoReflect.Descriptor instead.
425 func (*DeleteModelRequest) Descriptor() ([]byte, []int) {
426 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{6}
427 }
428
429 func (x *DeleteModelRequest) GetName() string {
430 if x != nil {
431 return x.Name
432 }
433 return ""
434 }
435
436 // Response to a ListModelRequest.
437 type ListModelsResponse struct {
438 state protoimpl.MessageState
439 sizeCache protoimpl.SizeCache
440 unknownFields protoimpl.UnknownFields
441
442 // List of Models.
443 Models []*Model `protobuf:"bytes,1,rep,name=models,proto3" json:"models,omitempty"`
444 // Pagination token, if not returned indicates the last page.
445 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
446 }
447
448 func (x *ListModelsResponse) Reset() {
449 *x = ListModelsResponse{}
450 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[7]
451 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
452 ms.StoreMessageInfo(mi)
453 }
454
455 func (x *ListModelsResponse) String() string {
456 return protoimpl.X.MessageStringOf(x)
457 }
458
459 func (*ListModelsResponse) ProtoMessage() {}
460
461 func (x *ListModelsResponse) ProtoReflect() protoreflect.Message {
462 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[7]
463 if x != nil {
464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
465 if ms.LoadMessageInfo() == nil {
466 ms.StoreMessageInfo(mi)
467 }
468 return ms
469 }
470 return mi.MessageOf(x)
471 }
472
473 // Deprecated: Use ListModelsResponse.ProtoReflect.Descriptor instead.
474 func (*ListModelsResponse) Descriptor() ([]byte, []int) {
475 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{7}
476 }
477
478 func (x *ListModelsResponse) GetModels() []*Model {
479 if x != nil {
480 return x.Models
481 }
482 return nil
483 }
484
485 func (x *ListModelsResponse) GetNextPageToken() string {
486 if x != nil {
487 return x.NextPageToken
488 }
489 return ""
490 }
491
492 // Request to manually start a tuning process now (instead of waiting for
493 // the periodically scheduled tuning to happen).
494 type TuneModelRequest struct {
495 state protoimpl.MessageState
496 sizeCache protoimpl.SizeCache
497 unknownFields protoimpl.UnknownFields
498
499 // Required. The resource name of the model to tune.
500 // Format:
501 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`
502 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
503 }
504
505 func (x *TuneModelRequest) Reset() {
506 *x = TuneModelRequest{}
507 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[8]
508 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
509 ms.StoreMessageInfo(mi)
510 }
511
512 func (x *TuneModelRequest) String() string {
513 return protoimpl.X.MessageStringOf(x)
514 }
515
516 func (*TuneModelRequest) ProtoMessage() {}
517
518 func (x *TuneModelRequest) ProtoReflect() protoreflect.Message {
519 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[8]
520 if x != nil {
521 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
522 if ms.LoadMessageInfo() == nil {
523 ms.StoreMessageInfo(mi)
524 }
525 return ms
526 }
527 return mi.MessageOf(x)
528 }
529
530 // Deprecated: Use TuneModelRequest.ProtoReflect.Descriptor instead.
531 func (*TuneModelRequest) Descriptor() ([]byte, []int) {
532 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{8}
533 }
534
535 func (x *TuneModelRequest) GetName() string {
536 if x != nil {
537 return x.Name
538 }
539 return ""
540 }
541
542 // Metadata associated with a create operation.
543 type CreateModelMetadata struct {
544 state protoimpl.MessageState
545 sizeCache protoimpl.SizeCache
546 unknownFields protoimpl.UnknownFields
547
548 // The resource name of the model that this create applies to.
549 // Format:
550 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`
551 Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
552 }
553
554 func (x *CreateModelMetadata) Reset() {
555 *x = CreateModelMetadata{}
556 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[9]
557 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
558 ms.StoreMessageInfo(mi)
559 }
560
561 func (x *CreateModelMetadata) String() string {
562 return protoimpl.X.MessageStringOf(x)
563 }
564
565 func (*CreateModelMetadata) ProtoMessage() {}
566
567 func (x *CreateModelMetadata) ProtoReflect() protoreflect.Message {
568 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[9]
569 if x != nil {
570 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
571 if ms.LoadMessageInfo() == nil {
572 ms.StoreMessageInfo(mi)
573 }
574 return ms
575 }
576 return mi.MessageOf(x)
577 }
578
579 // Deprecated: Use CreateModelMetadata.ProtoReflect.Descriptor instead.
580 func (*CreateModelMetadata) Descriptor() ([]byte, []int) {
581 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{9}
582 }
583
584 func (x *CreateModelMetadata) GetModel() string {
585 if x != nil {
586 return x.Model
587 }
588 return ""
589 }
590
591 // Metadata associated with a tune operation.
592 type TuneModelMetadata struct {
593 state protoimpl.MessageState
594 sizeCache protoimpl.SizeCache
595 unknownFields protoimpl.UnknownFields
596
597 // The resource name of the model that this tune applies to.
598 // Format:
599 // `projects/{project_number}/locations/{location_id}/catalogs/{catalog_id}/models/{model_id}`
600 Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
601 }
602
603 func (x *TuneModelMetadata) Reset() {
604 *x = TuneModelMetadata{}
605 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[10]
606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
607 ms.StoreMessageInfo(mi)
608 }
609
610 func (x *TuneModelMetadata) String() string {
611 return protoimpl.X.MessageStringOf(x)
612 }
613
614 func (*TuneModelMetadata) ProtoMessage() {}
615
616 func (x *TuneModelMetadata) ProtoReflect() protoreflect.Message {
617 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[10]
618 if x != nil {
619 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
620 if ms.LoadMessageInfo() == nil {
621 ms.StoreMessageInfo(mi)
622 }
623 return ms
624 }
625 return mi.MessageOf(x)
626 }
627
628 // Deprecated: Use TuneModelMetadata.ProtoReflect.Descriptor instead.
629 func (*TuneModelMetadata) Descriptor() ([]byte, []int) {
630 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{10}
631 }
632
633 func (x *TuneModelMetadata) GetModel() string {
634 if x != nil {
635 return x.Model
636 }
637 return ""
638 }
639
640 // Response associated with a tune operation.
641 type TuneModelResponse struct {
642 state protoimpl.MessageState
643 sizeCache protoimpl.SizeCache
644 unknownFields protoimpl.UnknownFields
645 }
646
647 func (x *TuneModelResponse) Reset() {
648 *x = TuneModelResponse{}
649 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[11]
650 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
651 ms.StoreMessageInfo(mi)
652 }
653
654 func (x *TuneModelResponse) String() string {
655 return protoimpl.X.MessageStringOf(x)
656 }
657
658 func (*TuneModelResponse) ProtoMessage() {}
659
660 func (x *TuneModelResponse) ProtoReflect() protoreflect.Message {
661 mi := &file_google_cloud_retail_v2beta_model_service_proto_msgTypes[11]
662 if x != nil {
663 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
664 if ms.LoadMessageInfo() == nil {
665 ms.StoreMessageInfo(mi)
666 }
667 return ms
668 }
669 return mi.MessageOf(x)
670 }
671
672 // Deprecated: Use TuneModelResponse.ProtoReflect.Descriptor instead.
673 func (*TuneModelResponse) Descriptor() ([]byte, []int) {
674 return file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP(), []int{11}
675 }
676
677 var File_google_cloud_retail_v2beta_model_service_proto protoreflect.FileDescriptor
678
679 var file_google_cloud_retail_v2beta_model_service_proto_rawDesc = []byte{
680 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72,
681 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x6f, 0x64,
682 0x65, 0x6c, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
683 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
684 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67, 0x6f,
685 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
686 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67,
687 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72,
688 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
689 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70,
690 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
691 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
692 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x72, 0x65,
693 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x6d, 0x6f, 0x64, 0x65,
694 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
695 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72,
696 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
697 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
698 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
699 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
700 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xaf, 0x01, 0x0a, 0x12,
701 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65,
702 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
703 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x74, 0x61,
704 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
705 0x6d, 0x2f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
706 0x74, 0x12, 0x3c, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
707 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
708 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x6f,
709 0x64, 0x65, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x12,
710 0x1c, 0x0a, 0x07, 0x64, 0x72, 0x79, 0x5f, 0x72, 0x75, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08,
711 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, 0x22, 0x94, 0x01,
712 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71,
713 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20,
714 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
715 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
716 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x6d, 0x6f, 0x64,
717 0x65, 0x6c, 0x12, 0x40, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73,
718 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
719 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d,
720 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
721 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x4a, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
722 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
723 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x72,
724 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
725 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
726 0x22, 0x4c, 0x0a, 0x11, 0x50, 0x61, 0x75, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65,
727 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
728 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x72, 0x65, 0x74,
729 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
730 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2d,
731 0x0a, 0x12, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71,
732 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
733 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x98, 0x01,
734 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75,
735 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20,
736 0x01, 0x28, 0x09, 0x42, 0x25, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1f, 0x0a, 0x1d, 0x72, 0x65, 0x74,
737 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
738 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
739 0x6e, 0x74, 0x12, 0x20, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
740 0x02, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
741 0x53, 0x69, 0x7a, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
742 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x70,
743 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4d, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65,
744 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37,
745 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41,
746 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f,
747 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65,
748 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x77, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x4d,
749 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a,
750 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e,
751 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74,
752 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
753 0x52, 0x06, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
754 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
755 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
756 0x22, 0x4b, 0x0a, 0x10, 0x54, 0x75, 0x6e, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71,
757 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
758 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x72, 0x65, 0x74, 0x61,
759 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
760 0x6d, 0x2f, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x2b, 0x0a,
761 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61,
762 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20,
763 0x01, 0x28, 0x09, 0x52, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x29, 0x0a, 0x11, 0x54, 0x75,
764 0x6e, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12,
765 0x14, 0x0a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
766 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x13, 0x0a, 0x11, 0x54, 0x75, 0x6e, 0x65, 0x4d, 0x6f, 0x64,
767 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xa9, 0x0d, 0x0a, 0x0c, 0x4d,
768 0x6f, 0x64, 0x65, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x8b, 0x02, 0x0a, 0x0b,
769 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2e, 0x2e, 0x67, 0x6f,
770 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69,
771 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d,
772 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f,
773 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67,
774 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xac, 0x01, 0xca, 0x41, 0x52,
775 0x0a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
776 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64,
777 0x65, 0x6c, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
778 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43,
779 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61,
780 0x74, 0x61, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6d, 0x6f, 0x64, 0x65,
781 0x6c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x3a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x39,
782 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
783 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
784 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f,
785 0x2a, 0x7d, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0xa4, 0x01, 0x0a, 0x08, 0x47, 0x65,
786 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
787 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62,
788 0x65, 0x74, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75,
789 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
790 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
791 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x48, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
792 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b,
793 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
794 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61,
795 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d,
796 0x12, 0xb1, 0x01, 0x0a, 0x0a, 0x50, 0x61, 0x75, 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12,
797 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72,
798 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x61, 0x75,
799 0x73, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
800 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
801 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65,
802 0x6c, 0x22, 0x51, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44,
803 0x3a, 0x01, 0x2a, 0x22, 0x3f, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61,
804 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
805 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
806 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70,
807 0x61, 0x75, 0x73, 0x65, 0x12, 0xb4, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x4d,
808 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
809 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
810 0x61, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71,
811 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
812 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
813 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x52, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
814 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x3a, 0x01, 0x2a, 0x22, 0x40, 0x2f, 0x76, 0x32, 0x62, 0x65,
815 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
816 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
817 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c,
818 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0x9f, 0x01, 0x0a, 0x0b,
819 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2e, 0x2e, 0x67, 0x6f,
820 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69,
821 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d,
822 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
823 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
824 0x70, 0x74, 0x79, 0x22, 0x48, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
825 0x02, 0x3b, 0x2a, 0x39, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
826 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63,
827 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67,
828 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xb7, 0x01,
829 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0x2d, 0x2e, 0x67,
830 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
831 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f,
832 0x64, 0x65, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x6f,
833 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69,
834 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x6f, 0x64,
835 0x65, 0x6c, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x4a, 0xda, 0x41, 0x06,
836 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x12, 0x39, 0x2f, 0x76,
837 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
838 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
839 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x7d,
840 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x12, 0xc4, 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61,
841 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
842 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
843 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
844 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
845 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32,
846 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x22, 0x62, 0xda, 0x41, 0x11, 0x6d,
847 0x6f, 0x64, 0x65, 0x6c, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
848 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x3a, 0x05, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x32, 0x3f, 0x2f,
849 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x2e, 0x6e, 0x61,
850 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
851 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f,
852 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x8a,
853 0x02, 0x0a, 0x09, 0x54, 0x75, 0x6e, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x12, 0x2c, 0x2e, 0x67,
854 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
855 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x75, 0x6e, 0x65, 0x4d, 0x6f,
856 0x64, 0x65, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x67, 0x6f, 0x6f,
857 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2e,
858 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x01, 0xca, 0x41, 0x5c, 0x0a,
859 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65,
860 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x75, 0x6e, 0x65,
861 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x67,
862 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
863 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x54, 0x75, 0x6e, 0x65, 0x4d, 0x6f,
864 0x64, 0x65, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xda, 0x41, 0x04, 0x6e, 0x61,
865 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x43, 0x3a, 0x01, 0x2a, 0x22, 0x3e, 0x2f, 0x76, 0x32,
866 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
867 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
868 0x2a, 0x2f, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x6f, 0x64,
869 0x65, 0x6c, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x75, 0x6e, 0x65, 0x1a, 0x49, 0xca, 0x41, 0x15,
870 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
871 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f,
872 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
873 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c,
874 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xd0, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
875 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x72, 0x65, 0x74, 0x61,
876 0x69, 0x6c, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42, 0x11, 0x4d, 0x6f, 0x64, 0x65, 0x6c,
877 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x36,
878 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
879 0x2f, 0x67, 0x6f, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32,
880 0x62, 0x65, 0x74, 0x61, 0x2f, 0x72, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0x3b, 0x72, 0x65,
881 0x74, 0x61, 0x69, 0x6c, 0x70, 0x62, 0xa2, 0x02, 0x06, 0x52, 0x45, 0x54, 0x41, 0x49, 0x4c, 0xaa,
882 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x52,
883 0x65, 0x74, 0x61, 0x69, 0x6c, 0x2e, 0x56, 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1a, 0x47,
884 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x52, 0x65, 0x74, 0x61,
885 0x69, 0x6c, 0x5c, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67,
886 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x52, 0x65, 0x74, 0x61, 0x69,
887 0x6c, 0x3a, 0x3a, 0x56, 0x32, 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
888 0x33,
889 }
890
891 var (
892 file_google_cloud_retail_v2beta_model_service_proto_rawDescOnce sync.Once
893 file_google_cloud_retail_v2beta_model_service_proto_rawDescData = file_google_cloud_retail_v2beta_model_service_proto_rawDesc
894 )
895
896 func file_google_cloud_retail_v2beta_model_service_proto_rawDescGZIP() []byte {
897 file_google_cloud_retail_v2beta_model_service_proto_rawDescOnce.Do(func() {
898 file_google_cloud_retail_v2beta_model_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_retail_v2beta_model_service_proto_rawDescData)
899 })
900 return file_google_cloud_retail_v2beta_model_service_proto_rawDescData
901 }
902
903 var file_google_cloud_retail_v2beta_model_service_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
904 var file_google_cloud_retail_v2beta_model_service_proto_goTypes = []any{
905 (*CreateModelRequest)(nil), // 0: google.cloud.retail.v2beta.CreateModelRequest
906 (*UpdateModelRequest)(nil), // 1: google.cloud.retail.v2beta.UpdateModelRequest
907 (*GetModelRequest)(nil), // 2: google.cloud.retail.v2beta.GetModelRequest
908 (*PauseModelRequest)(nil), // 3: google.cloud.retail.v2beta.PauseModelRequest
909 (*ResumeModelRequest)(nil), // 4: google.cloud.retail.v2beta.ResumeModelRequest
910 (*ListModelsRequest)(nil), // 5: google.cloud.retail.v2beta.ListModelsRequest
911 (*DeleteModelRequest)(nil), // 6: google.cloud.retail.v2beta.DeleteModelRequest
912 (*ListModelsResponse)(nil), // 7: google.cloud.retail.v2beta.ListModelsResponse
913 (*TuneModelRequest)(nil), // 8: google.cloud.retail.v2beta.TuneModelRequest
914 (*CreateModelMetadata)(nil), // 9: google.cloud.retail.v2beta.CreateModelMetadata
915 (*TuneModelMetadata)(nil), // 10: google.cloud.retail.v2beta.TuneModelMetadata
916 (*TuneModelResponse)(nil), // 11: google.cloud.retail.v2beta.TuneModelResponse
917 (*Model)(nil), // 12: google.cloud.retail.v2beta.Model
918 (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask
919 (*longrunningpb.Operation)(nil), // 14: google.longrunning.Operation
920 (*emptypb.Empty)(nil), // 15: google.protobuf.Empty
921 }
922 var file_google_cloud_retail_v2beta_model_service_proto_depIdxs = []int32{
923 12, // 0: google.cloud.retail.v2beta.CreateModelRequest.model:type_name -> google.cloud.retail.v2beta.Model
924 12, // 1: google.cloud.retail.v2beta.UpdateModelRequest.model:type_name -> google.cloud.retail.v2beta.Model
925 13, // 2: google.cloud.retail.v2beta.UpdateModelRequest.update_mask:type_name -> google.protobuf.FieldMask
926 12, // 3: google.cloud.retail.v2beta.ListModelsResponse.models:type_name -> google.cloud.retail.v2beta.Model
927 0, // 4: google.cloud.retail.v2beta.ModelService.CreateModel:input_type -> google.cloud.retail.v2beta.CreateModelRequest
928 2, // 5: google.cloud.retail.v2beta.ModelService.GetModel:input_type -> google.cloud.retail.v2beta.GetModelRequest
929 3, // 6: google.cloud.retail.v2beta.ModelService.PauseModel:input_type -> google.cloud.retail.v2beta.PauseModelRequest
930 4, // 7: google.cloud.retail.v2beta.ModelService.ResumeModel:input_type -> google.cloud.retail.v2beta.ResumeModelRequest
931 6, // 8: google.cloud.retail.v2beta.ModelService.DeleteModel:input_type -> google.cloud.retail.v2beta.DeleteModelRequest
932 5, // 9: google.cloud.retail.v2beta.ModelService.ListModels:input_type -> google.cloud.retail.v2beta.ListModelsRequest
933 1, // 10: google.cloud.retail.v2beta.ModelService.UpdateModel:input_type -> google.cloud.retail.v2beta.UpdateModelRequest
934 8, // 11: google.cloud.retail.v2beta.ModelService.TuneModel:input_type -> google.cloud.retail.v2beta.TuneModelRequest
935 14, // 12: google.cloud.retail.v2beta.ModelService.CreateModel:output_type -> google.longrunning.Operation
936 12, // 13: google.cloud.retail.v2beta.ModelService.GetModel:output_type -> google.cloud.retail.v2beta.Model
937 12, // 14: google.cloud.retail.v2beta.ModelService.PauseModel:output_type -> google.cloud.retail.v2beta.Model
938 12, // 15: google.cloud.retail.v2beta.ModelService.ResumeModel:output_type -> google.cloud.retail.v2beta.Model
939 15, // 16: google.cloud.retail.v2beta.ModelService.DeleteModel:output_type -> google.protobuf.Empty
940 7, // 17: google.cloud.retail.v2beta.ModelService.ListModels:output_type -> google.cloud.retail.v2beta.ListModelsResponse
941 12, // 18: google.cloud.retail.v2beta.ModelService.UpdateModel:output_type -> google.cloud.retail.v2beta.Model
942 14, // 19: google.cloud.retail.v2beta.ModelService.TuneModel:output_type -> google.longrunning.Operation
943 12, // [12:20] is the sub-list for method output_type
944 4, // [4:12] is the sub-list for method input_type
945 4, // [4:4] is the sub-list for extension type_name
946 4, // [4:4] is the sub-list for extension extendee
947 0, // [0:4] is the sub-list for field type_name
948 }
949
950 func init() { file_google_cloud_retail_v2beta_model_service_proto_init() }
951 func file_google_cloud_retail_v2beta_model_service_proto_init() {
952 if File_google_cloud_retail_v2beta_model_service_proto != nil {
953 return
954 }
955 file_google_cloud_retail_v2beta_model_proto_init()
956 type x struct{}
957 out := protoimpl.TypeBuilder{
958 File: protoimpl.DescBuilder{
959 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
960 RawDescriptor: file_google_cloud_retail_v2beta_model_service_proto_rawDesc,
961 NumEnums: 0,
962 NumMessages: 12,
963 NumExtensions: 0,
964 NumServices: 1,
965 },
966 GoTypes: file_google_cloud_retail_v2beta_model_service_proto_goTypes,
967 DependencyIndexes: file_google_cloud_retail_v2beta_model_service_proto_depIdxs,
968 MessageInfos: file_google_cloud_retail_v2beta_model_service_proto_msgTypes,
969 }.Build()
970 File_google_cloud_retail_v2beta_model_service_proto = out.File
971 file_google_cloud_retail_v2beta_model_service_proto_rawDesc = nil
972 file_google_cloud_retail_v2beta_model_service_proto_goTypes = nil
973 file_google_cloud_retail_v2beta_model_service_proto_depIdxs = nil
974 }
975
976 // Reference imports to suppress errors if they are not otherwise used.
977 var _ context.Context
978 var _ grpc.ClientConnInterface
979
980 // This is a compile-time assertion to ensure that this generated file
981 // is compatible with the grpc package it is being compiled against.
982 const _ = grpc.SupportPackageIsVersion6
983
984 // ModelServiceClient is the client API for ModelService service.
985 //
986 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
987 type ModelServiceClient interface {
988 // Creates a new model.
989 CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
990 // Gets a model.
991 GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error)
992 // Pauses the training of an existing model.
993 PauseModel(ctx context.Context, in *PauseModelRequest, opts ...grpc.CallOption) (*Model, error)
994 // Resumes the training of an existing model.
995 ResumeModel(ctx context.Context, in *ResumeModelRequest, opts ...grpc.CallOption) (*Model, error)
996 // Deletes an existing model.
997 DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
998 // Lists all the models linked to this event store.
999 ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error)
1000 // Update of model metadata. Only fields that
1001 // currently can be updated are: `filtering_option` and
1002 // `periodic_tuning_state`.
1003 // If other values are provided, this API method ignores them.
1004 UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*Model, error)
1005 // Tunes an existing model.
1006 TuneModel(ctx context.Context, in *TuneModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error)
1007 }
1008
1009 type modelServiceClient struct {
1010 cc grpc.ClientConnInterface
1011 }
1012
1013 func NewModelServiceClient(cc grpc.ClientConnInterface) ModelServiceClient {
1014 return &modelServiceClient{cc}
1015 }
1016
1017 func (c *modelServiceClient) CreateModel(ctx context.Context, in *CreateModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
1018 out := new(longrunningpb.Operation)
1019 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/CreateModel", in, out, opts...)
1020 if err != nil {
1021 return nil, err
1022 }
1023 return out, nil
1024 }
1025
1026 func (c *modelServiceClient) GetModel(ctx context.Context, in *GetModelRequest, opts ...grpc.CallOption) (*Model, error) {
1027 out := new(Model)
1028 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/GetModel", in, out, opts...)
1029 if err != nil {
1030 return nil, err
1031 }
1032 return out, nil
1033 }
1034
1035 func (c *modelServiceClient) PauseModel(ctx context.Context, in *PauseModelRequest, opts ...grpc.CallOption) (*Model, error) {
1036 out := new(Model)
1037 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/PauseModel", in, out, opts...)
1038 if err != nil {
1039 return nil, err
1040 }
1041 return out, nil
1042 }
1043
1044 func (c *modelServiceClient) ResumeModel(ctx context.Context, in *ResumeModelRequest, opts ...grpc.CallOption) (*Model, error) {
1045 out := new(Model)
1046 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/ResumeModel", in, out, opts...)
1047 if err != nil {
1048 return nil, err
1049 }
1050 return out, nil
1051 }
1052
1053 func (c *modelServiceClient) DeleteModel(ctx context.Context, in *DeleteModelRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1054 out := new(emptypb.Empty)
1055 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/DeleteModel", in, out, opts...)
1056 if err != nil {
1057 return nil, err
1058 }
1059 return out, nil
1060 }
1061
1062 func (c *modelServiceClient) ListModels(ctx context.Context, in *ListModelsRequest, opts ...grpc.CallOption) (*ListModelsResponse, error) {
1063 out := new(ListModelsResponse)
1064 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/ListModels", in, out, opts...)
1065 if err != nil {
1066 return nil, err
1067 }
1068 return out, nil
1069 }
1070
1071 func (c *modelServiceClient) UpdateModel(ctx context.Context, in *UpdateModelRequest, opts ...grpc.CallOption) (*Model, error) {
1072 out := new(Model)
1073 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/UpdateModel", in, out, opts...)
1074 if err != nil {
1075 return nil, err
1076 }
1077 return out, nil
1078 }
1079
1080 func (c *modelServiceClient) TuneModel(ctx context.Context, in *TuneModelRequest, opts ...grpc.CallOption) (*longrunningpb.Operation, error) {
1081 out := new(longrunningpb.Operation)
1082 err := c.cc.Invoke(ctx, "/google.cloud.retail.v2beta.ModelService/TuneModel", in, out, opts...)
1083 if err != nil {
1084 return nil, err
1085 }
1086 return out, nil
1087 }
1088
1089 // ModelServiceServer is the server API for ModelService service.
1090 type ModelServiceServer interface {
1091 // Creates a new model.
1092 CreateModel(context.Context, *CreateModelRequest) (*longrunningpb.Operation, error)
1093 // Gets a model.
1094 GetModel(context.Context, *GetModelRequest) (*Model, error)
1095 // Pauses the training of an existing model.
1096 PauseModel(context.Context, *PauseModelRequest) (*Model, error)
1097 // Resumes the training of an existing model.
1098 ResumeModel(context.Context, *ResumeModelRequest) (*Model, error)
1099 // Deletes an existing model.
1100 DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error)
1101 // Lists all the models linked to this event store.
1102 ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error)
1103 // Update of model metadata. Only fields that
1104 // currently can be updated are: `filtering_option` and
1105 // `periodic_tuning_state`.
1106 // If other values are provided, this API method ignores them.
1107 UpdateModel(context.Context, *UpdateModelRequest) (*Model, error)
1108 // Tunes an existing model.
1109 TuneModel(context.Context, *TuneModelRequest) (*longrunningpb.Operation, error)
1110 }
1111
1112 // UnimplementedModelServiceServer can be embedded to have forward compatible implementations.
1113 type UnimplementedModelServiceServer struct {
1114 }
1115
1116 func (*UnimplementedModelServiceServer) CreateModel(context.Context, *CreateModelRequest) (*longrunningpb.Operation, error) {
1117 return nil, status.Errorf(codes.Unimplemented, "method CreateModel not implemented")
1118 }
1119 func (*UnimplementedModelServiceServer) GetModel(context.Context, *GetModelRequest) (*Model, error) {
1120 return nil, status.Errorf(codes.Unimplemented, "method GetModel not implemented")
1121 }
1122 func (*UnimplementedModelServiceServer) PauseModel(context.Context, *PauseModelRequest) (*Model, error) {
1123 return nil, status.Errorf(codes.Unimplemented, "method PauseModel not implemented")
1124 }
1125 func (*UnimplementedModelServiceServer) ResumeModel(context.Context, *ResumeModelRequest) (*Model, error) {
1126 return nil, status.Errorf(codes.Unimplemented, "method ResumeModel not implemented")
1127 }
1128 func (*UnimplementedModelServiceServer) DeleteModel(context.Context, *DeleteModelRequest) (*emptypb.Empty, error) {
1129 return nil, status.Errorf(codes.Unimplemented, "method DeleteModel not implemented")
1130 }
1131 func (*UnimplementedModelServiceServer) ListModels(context.Context, *ListModelsRequest) (*ListModelsResponse, error) {
1132 return nil, status.Errorf(codes.Unimplemented, "method ListModels not implemented")
1133 }
1134 func (*UnimplementedModelServiceServer) UpdateModel(context.Context, *UpdateModelRequest) (*Model, error) {
1135 return nil, status.Errorf(codes.Unimplemented, "method UpdateModel not implemented")
1136 }
1137 func (*UnimplementedModelServiceServer) TuneModel(context.Context, *TuneModelRequest) (*longrunningpb.Operation, error) {
1138 return nil, status.Errorf(codes.Unimplemented, "method TuneModel not implemented")
1139 }
1140
1141 func RegisterModelServiceServer(s *grpc.Server, srv ModelServiceServer) {
1142 s.RegisterService(&_ModelService_serviceDesc, srv)
1143 }
1144
1145 func _ModelService_CreateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1146 in := new(CreateModelRequest)
1147 if err := dec(in); err != nil {
1148 return nil, err
1149 }
1150 if interceptor == nil {
1151 return srv.(ModelServiceServer).CreateModel(ctx, in)
1152 }
1153 info := &grpc.UnaryServerInfo{
1154 Server: srv,
1155 FullMethod: "/google.cloud.retail.v2beta.ModelService/CreateModel",
1156 }
1157 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1158 return srv.(ModelServiceServer).CreateModel(ctx, req.(*CreateModelRequest))
1159 }
1160 return interceptor(ctx, in, info, handler)
1161 }
1162
1163 func _ModelService_GetModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1164 in := new(GetModelRequest)
1165 if err := dec(in); err != nil {
1166 return nil, err
1167 }
1168 if interceptor == nil {
1169 return srv.(ModelServiceServer).GetModel(ctx, in)
1170 }
1171 info := &grpc.UnaryServerInfo{
1172 Server: srv,
1173 FullMethod: "/google.cloud.retail.v2beta.ModelService/GetModel",
1174 }
1175 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1176 return srv.(ModelServiceServer).GetModel(ctx, req.(*GetModelRequest))
1177 }
1178 return interceptor(ctx, in, info, handler)
1179 }
1180
1181 func _ModelService_PauseModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1182 in := new(PauseModelRequest)
1183 if err := dec(in); err != nil {
1184 return nil, err
1185 }
1186 if interceptor == nil {
1187 return srv.(ModelServiceServer).PauseModel(ctx, in)
1188 }
1189 info := &grpc.UnaryServerInfo{
1190 Server: srv,
1191 FullMethod: "/google.cloud.retail.v2beta.ModelService/PauseModel",
1192 }
1193 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1194 return srv.(ModelServiceServer).PauseModel(ctx, req.(*PauseModelRequest))
1195 }
1196 return interceptor(ctx, in, info, handler)
1197 }
1198
1199 func _ModelService_ResumeModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1200 in := new(ResumeModelRequest)
1201 if err := dec(in); err != nil {
1202 return nil, err
1203 }
1204 if interceptor == nil {
1205 return srv.(ModelServiceServer).ResumeModel(ctx, in)
1206 }
1207 info := &grpc.UnaryServerInfo{
1208 Server: srv,
1209 FullMethod: "/google.cloud.retail.v2beta.ModelService/ResumeModel",
1210 }
1211 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1212 return srv.(ModelServiceServer).ResumeModel(ctx, req.(*ResumeModelRequest))
1213 }
1214 return interceptor(ctx, in, info, handler)
1215 }
1216
1217 func _ModelService_DeleteModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1218 in := new(DeleteModelRequest)
1219 if err := dec(in); err != nil {
1220 return nil, err
1221 }
1222 if interceptor == nil {
1223 return srv.(ModelServiceServer).DeleteModel(ctx, in)
1224 }
1225 info := &grpc.UnaryServerInfo{
1226 Server: srv,
1227 FullMethod: "/google.cloud.retail.v2beta.ModelService/DeleteModel",
1228 }
1229 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1230 return srv.(ModelServiceServer).DeleteModel(ctx, req.(*DeleteModelRequest))
1231 }
1232 return interceptor(ctx, in, info, handler)
1233 }
1234
1235 func _ModelService_ListModels_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1236 in := new(ListModelsRequest)
1237 if err := dec(in); err != nil {
1238 return nil, err
1239 }
1240 if interceptor == nil {
1241 return srv.(ModelServiceServer).ListModels(ctx, in)
1242 }
1243 info := &grpc.UnaryServerInfo{
1244 Server: srv,
1245 FullMethod: "/google.cloud.retail.v2beta.ModelService/ListModels",
1246 }
1247 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1248 return srv.(ModelServiceServer).ListModels(ctx, req.(*ListModelsRequest))
1249 }
1250 return interceptor(ctx, in, info, handler)
1251 }
1252
1253 func _ModelService_UpdateModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1254 in := new(UpdateModelRequest)
1255 if err := dec(in); err != nil {
1256 return nil, err
1257 }
1258 if interceptor == nil {
1259 return srv.(ModelServiceServer).UpdateModel(ctx, in)
1260 }
1261 info := &grpc.UnaryServerInfo{
1262 Server: srv,
1263 FullMethod: "/google.cloud.retail.v2beta.ModelService/UpdateModel",
1264 }
1265 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1266 return srv.(ModelServiceServer).UpdateModel(ctx, req.(*UpdateModelRequest))
1267 }
1268 return interceptor(ctx, in, info, handler)
1269 }
1270
1271 func _ModelService_TuneModel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1272 in := new(TuneModelRequest)
1273 if err := dec(in); err != nil {
1274 return nil, err
1275 }
1276 if interceptor == nil {
1277 return srv.(ModelServiceServer).TuneModel(ctx, in)
1278 }
1279 info := &grpc.UnaryServerInfo{
1280 Server: srv,
1281 FullMethod: "/google.cloud.retail.v2beta.ModelService/TuneModel",
1282 }
1283 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1284 return srv.(ModelServiceServer).TuneModel(ctx, req.(*TuneModelRequest))
1285 }
1286 return interceptor(ctx, in, info, handler)
1287 }
1288
1289 var _ModelService_serviceDesc = grpc.ServiceDesc{
1290 ServiceName: "google.cloud.retail.v2beta.ModelService",
1291 HandlerType: (*ModelServiceServer)(nil),
1292 Methods: []grpc.MethodDesc{
1293 {
1294 MethodName: "CreateModel",
1295 Handler: _ModelService_CreateModel_Handler,
1296 },
1297 {
1298 MethodName: "GetModel",
1299 Handler: _ModelService_GetModel_Handler,
1300 },
1301 {
1302 MethodName: "PauseModel",
1303 Handler: _ModelService_PauseModel_Handler,
1304 },
1305 {
1306 MethodName: "ResumeModel",
1307 Handler: _ModelService_ResumeModel_Handler,
1308 },
1309 {
1310 MethodName: "DeleteModel",
1311 Handler: _ModelService_DeleteModel_Handler,
1312 },
1313 {
1314 MethodName: "ListModels",
1315 Handler: _ModelService_ListModels_Handler,
1316 },
1317 {
1318 MethodName: "UpdateModel",
1319 Handler: _ModelService_UpdateModel_Handler,
1320 },
1321 {
1322 MethodName: "TuneModel",
1323 Handler: _ModelService_TuneModel_Handler,
1324 },
1325 },
1326 Streams: []grpc.StreamDesc{},
1327 Metadata: "google/cloud/retail/v2beta/model_service.proto",
1328 }