Debian Codegraph @

speech/apiv1/speechpb/cloud_speech_adaptation.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/speech/v1/cloud_speech_adaptation.proto
20
21 package speechpb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 emptypb "google.golang.org/protobuf/types/known/emptypb"
32 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // Message sent by the client for the `CreatePhraseSet` method.
45 type CreatePhraseSetRequest struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 // Required. The parent resource where this phrase set will be created.
51 // Format:
52 //
53 // `projects/{project}/locations/{location}`
54 //
55 // Speech-to-Text supports three locations: `global`, `us` (US North America),
56 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
57 // endpoint, use the `global` location. To specify a region, use a
58 // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
59 // with matching `us` or `eu` location value.
60 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
61 // Required. The ID to use for the phrase set, which will become the final
62 // component of the phrase set's resource name.
63 //
64 // This value should restrict to letters, numbers, and hyphens, with the first
65 // character a letter, the last a letter or a number, and be 4-63 characters.
66 PhraseSetId string `protobuf:"bytes,2,opt,name=phrase_set_id,json=phraseSetId,proto3" json:"phrase_set_id,omitempty"`
67 // Required. The phrase set to create.
68 PhraseSet *PhraseSet `protobuf:"bytes,3,opt,name=phrase_set,json=phraseSet,proto3" json:"phrase_set,omitempty"`
69 }
70
71 func (x *CreatePhraseSetRequest) Reset() {
72 *x = CreatePhraseSetRequest{}
73 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[0]
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 ms.StoreMessageInfo(mi)
76 }
77
78 func (x *CreatePhraseSetRequest) String() string {
79 return protoimpl.X.MessageStringOf(x)
80 }
81
82 func (*CreatePhraseSetRequest) ProtoMessage() {}
83
84 func (x *CreatePhraseSetRequest) ProtoReflect() protoreflect.Message {
85 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[0]
86 if x != nil {
87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
88 if ms.LoadMessageInfo() == nil {
89 ms.StoreMessageInfo(mi)
90 }
91 return ms
92 }
93 return mi.MessageOf(x)
94 }
95
96 // Deprecated: Use CreatePhraseSetRequest.ProtoReflect.Descriptor instead.
97 func (*CreatePhraseSetRequest) Descriptor() ([]byte, []int) {
98 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{0}
99 }
100
101 func (x *CreatePhraseSetRequest) GetParent() string {
102 if x != nil {
103 return x.Parent
104 }
105 return ""
106 }
107
108 func (x *CreatePhraseSetRequest) GetPhraseSetId() string {
109 if x != nil {
110 return x.PhraseSetId
111 }
112 return ""
113 }
114
115 func (x *CreatePhraseSetRequest) GetPhraseSet() *PhraseSet {
116 if x != nil {
117 return x.PhraseSet
118 }
119 return nil
120 }
121
122 // Message sent by the client for the `UpdatePhraseSet` method.
123 type UpdatePhraseSetRequest struct {
124 state protoimpl.MessageState
125 sizeCache protoimpl.SizeCache
126 unknownFields protoimpl.UnknownFields
127
128 // Required. The phrase set to update.
129 //
130 // The phrase set's `name` field is used to identify the set to be
131 // updated. Format:
132 //
133 // `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
134 //
135 // Speech-to-Text supports three locations: `global`, `us` (US North America),
136 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
137 // endpoint, use the `global` location. To specify a region, use a
138 // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
139 // with matching `us` or `eu` location value.
140 PhraseSet *PhraseSet `protobuf:"bytes,1,opt,name=phrase_set,json=phraseSet,proto3" json:"phrase_set,omitempty"`
141 // The list of fields to be updated.
142 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
143 }
144
145 func (x *UpdatePhraseSetRequest) Reset() {
146 *x = UpdatePhraseSetRequest{}
147 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[1]
148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
149 ms.StoreMessageInfo(mi)
150 }
151
152 func (x *UpdatePhraseSetRequest) String() string {
153 return protoimpl.X.MessageStringOf(x)
154 }
155
156 func (*UpdatePhraseSetRequest) ProtoMessage() {}
157
158 func (x *UpdatePhraseSetRequest) ProtoReflect() protoreflect.Message {
159 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[1]
160 if x != nil {
161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
162 if ms.LoadMessageInfo() == nil {
163 ms.StoreMessageInfo(mi)
164 }
165 return ms
166 }
167 return mi.MessageOf(x)
168 }
169
170 // Deprecated: Use UpdatePhraseSetRequest.ProtoReflect.Descriptor instead.
171 func (*UpdatePhraseSetRequest) Descriptor() ([]byte, []int) {
172 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{1}
173 }
174
175 func (x *UpdatePhraseSetRequest) GetPhraseSet() *PhraseSet {
176 if x != nil {
177 return x.PhraseSet
178 }
179 return nil
180 }
181
182 func (x *UpdatePhraseSetRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
183 if x != nil {
184 return x.UpdateMask
185 }
186 return nil
187 }
188
189 // Message sent by the client for the `GetPhraseSet` method.
190 type GetPhraseSetRequest struct {
191 state protoimpl.MessageState
192 sizeCache protoimpl.SizeCache
193 unknownFields protoimpl.UnknownFields
194
195 // Required. The name of the phrase set to retrieve. Format:
196 //
197 // `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
198 //
199 // Speech-to-Text supports three locations: `global`, `us` (US North America),
200 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
201 // endpoint, use the `global` location. To specify a region, use a
202 // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
203 // with matching `us` or `eu` location value.
204 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
205 }
206
207 func (x *GetPhraseSetRequest) Reset() {
208 *x = GetPhraseSetRequest{}
209 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[2]
210 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
211 ms.StoreMessageInfo(mi)
212 }
213
214 func (x *GetPhraseSetRequest) String() string {
215 return protoimpl.X.MessageStringOf(x)
216 }
217
218 func (*GetPhraseSetRequest) ProtoMessage() {}
219
220 func (x *GetPhraseSetRequest) ProtoReflect() protoreflect.Message {
221 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[2]
222 if x != nil {
223 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
224 if ms.LoadMessageInfo() == nil {
225 ms.StoreMessageInfo(mi)
226 }
227 return ms
228 }
229 return mi.MessageOf(x)
230 }
231
232 // Deprecated: Use GetPhraseSetRequest.ProtoReflect.Descriptor instead.
233 func (*GetPhraseSetRequest) Descriptor() ([]byte, []int) {
234 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{2}
235 }
236
237 func (x *GetPhraseSetRequest) GetName() string {
238 if x != nil {
239 return x.Name
240 }
241 return ""
242 }
243
244 // Message sent by the client for the `ListPhraseSet` method.
245 type ListPhraseSetRequest struct {
246 state protoimpl.MessageState
247 sizeCache protoimpl.SizeCache
248 unknownFields protoimpl.UnknownFields
249
250 // Required. The parent, which owns this collection of phrase set. Format:
251 //
252 // `projects/{project}/locations/{location}`
253 //
254 // Speech-to-Text supports three locations: `global`, `us` (US North America),
255 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
256 // endpoint, use the `global` location. To specify a region, use a
257 // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
258 // with matching `us` or `eu` location value.
259 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
260 // The maximum number of phrase sets to return. The service may return
261 // fewer than this value. If unspecified, at most 50 phrase sets will be
262 // returned. The maximum value is 1000; values above 1000 will be coerced to
263 // 1000.
264 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
265 // A page token, received from a previous `ListPhraseSet` call.
266 // Provide this to retrieve the subsequent page.
267 //
268 // When paginating, all other parameters provided to `ListPhraseSet` must
269 // match the call that provided the page token.
270 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
271 }
272
273 func (x *ListPhraseSetRequest) Reset() {
274 *x = ListPhraseSetRequest{}
275 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[3]
276 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
277 ms.StoreMessageInfo(mi)
278 }
279
280 func (x *ListPhraseSetRequest) String() string {
281 return protoimpl.X.MessageStringOf(x)
282 }
283
284 func (*ListPhraseSetRequest) ProtoMessage() {}
285
286 func (x *ListPhraseSetRequest) ProtoReflect() protoreflect.Message {
287 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[3]
288 if x != nil {
289 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
290 if ms.LoadMessageInfo() == nil {
291 ms.StoreMessageInfo(mi)
292 }
293 return ms
294 }
295 return mi.MessageOf(x)
296 }
297
298 // Deprecated: Use ListPhraseSetRequest.ProtoReflect.Descriptor instead.
299 func (*ListPhraseSetRequest) Descriptor() ([]byte, []int) {
300 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{3}
301 }
302
303 func (x *ListPhraseSetRequest) GetParent() string {
304 if x != nil {
305 return x.Parent
306 }
307 return ""
308 }
309
310 func (x *ListPhraseSetRequest) GetPageSize() int32 {
311 if x != nil {
312 return x.PageSize
313 }
314 return 0
315 }
316
317 func (x *ListPhraseSetRequest) GetPageToken() string {
318 if x != nil {
319 return x.PageToken
320 }
321 return ""
322 }
323
324 // Message returned to the client by the `ListPhraseSet` method.
325 type ListPhraseSetResponse struct {
326 state protoimpl.MessageState
327 sizeCache protoimpl.SizeCache
328 unknownFields protoimpl.UnknownFields
329
330 // The phrase set.
331 PhraseSets []*PhraseSet `protobuf:"bytes,1,rep,name=phrase_sets,json=phraseSets,proto3" json:"phrase_sets,omitempty"`
332 // A token, which can be sent as `page_token` to retrieve the next page.
333 // If this field is omitted, there are no subsequent pages.
334 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
335 }
336
337 func (x *ListPhraseSetResponse) Reset() {
338 *x = ListPhraseSetResponse{}
339 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[4]
340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
341 ms.StoreMessageInfo(mi)
342 }
343
344 func (x *ListPhraseSetResponse) String() string {
345 return protoimpl.X.MessageStringOf(x)
346 }
347
348 func (*ListPhraseSetResponse) ProtoMessage() {}
349
350 func (x *ListPhraseSetResponse) ProtoReflect() protoreflect.Message {
351 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[4]
352 if x != nil {
353 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
354 if ms.LoadMessageInfo() == nil {
355 ms.StoreMessageInfo(mi)
356 }
357 return ms
358 }
359 return mi.MessageOf(x)
360 }
361
362 // Deprecated: Use ListPhraseSetResponse.ProtoReflect.Descriptor instead.
363 func (*ListPhraseSetResponse) Descriptor() ([]byte, []int) {
364 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{4}
365 }
366
367 func (x *ListPhraseSetResponse) GetPhraseSets() []*PhraseSet {
368 if x != nil {
369 return x.PhraseSets
370 }
371 return nil
372 }
373
374 func (x *ListPhraseSetResponse) GetNextPageToken() string {
375 if x != nil {
376 return x.NextPageToken
377 }
378 return ""
379 }
380
381 // Message sent by the client for the `DeletePhraseSet` method.
382 type DeletePhraseSetRequest struct {
383 state protoimpl.MessageState
384 sizeCache protoimpl.SizeCache
385 unknownFields protoimpl.UnknownFields
386
387 // Required. The name of the phrase set to delete. Format:
388 //
389 // `projects/{project}/locations/{location}/phraseSets/{phrase_set}`
390 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
391 }
392
393 func (x *DeletePhraseSetRequest) Reset() {
394 *x = DeletePhraseSetRequest{}
395 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[5]
396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
397 ms.StoreMessageInfo(mi)
398 }
399
400 func (x *DeletePhraseSetRequest) String() string {
401 return protoimpl.X.MessageStringOf(x)
402 }
403
404 func (*DeletePhraseSetRequest) ProtoMessage() {}
405
406 func (x *DeletePhraseSetRequest) ProtoReflect() protoreflect.Message {
407 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[5]
408 if x != nil {
409 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
410 if ms.LoadMessageInfo() == nil {
411 ms.StoreMessageInfo(mi)
412 }
413 return ms
414 }
415 return mi.MessageOf(x)
416 }
417
418 // Deprecated: Use DeletePhraseSetRequest.ProtoReflect.Descriptor instead.
419 func (*DeletePhraseSetRequest) Descriptor() ([]byte, []int) {
420 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{5}
421 }
422
423 func (x *DeletePhraseSetRequest) GetName() string {
424 if x != nil {
425 return x.Name
426 }
427 return ""
428 }
429
430 // Message sent by the client for the `CreateCustomClass` method.
431 type CreateCustomClassRequest struct {
432 state protoimpl.MessageState
433 sizeCache protoimpl.SizeCache
434 unknownFields protoimpl.UnknownFields
435
436 // Required. The parent resource where this custom class will be created.
437 // Format:
438 //
439 // `projects/{project}/locations/{location}/customClasses`
440 //
441 // Speech-to-Text supports three locations: `global`, `us` (US North America),
442 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
443 // endpoint, use the `global` location. To specify a region, use a
444 // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
445 // with matching `us` or `eu` location value.
446 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
447 // Required. The ID to use for the custom class, which will become the final
448 // component of the custom class' resource name.
449 //
450 // This value should restrict to letters, numbers, and hyphens, with the first
451 // character a letter, the last a letter or a number, and be 4-63 characters.
452 CustomClassId string `protobuf:"bytes,2,opt,name=custom_class_id,json=customClassId,proto3" json:"custom_class_id,omitempty"`
453 // Required. The custom class to create.
454 CustomClass *CustomClass `protobuf:"bytes,3,opt,name=custom_class,json=customClass,proto3" json:"custom_class,omitempty"`
455 }
456
457 func (x *CreateCustomClassRequest) Reset() {
458 *x = CreateCustomClassRequest{}
459 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[6]
460 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
461 ms.StoreMessageInfo(mi)
462 }
463
464 func (x *CreateCustomClassRequest) String() string {
465 return protoimpl.X.MessageStringOf(x)
466 }
467
468 func (*CreateCustomClassRequest) ProtoMessage() {}
469
470 func (x *CreateCustomClassRequest) ProtoReflect() protoreflect.Message {
471 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[6]
472 if x != nil {
473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
474 if ms.LoadMessageInfo() == nil {
475 ms.StoreMessageInfo(mi)
476 }
477 return ms
478 }
479 return mi.MessageOf(x)
480 }
481
482 // Deprecated: Use CreateCustomClassRequest.ProtoReflect.Descriptor instead.
483 func (*CreateCustomClassRequest) Descriptor() ([]byte, []int) {
484 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{6}
485 }
486
487 func (x *CreateCustomClassRequest) GetParent() string {
488 if x != nil {
489 return x.Parent
490 }
491 return ""
492 }
493
494 func (x *CreateCustomClassRequest) GetCustomClassId() string {
495 if x != nil {
496 return x.CustomClassId
497 }
498 return ""
499 }
500
501 func (x *CreateCustomClassRequest) GetCustomClass() *CustomClass {
502 if x != nil {
503 return x.CustomClass
504 }
505 return nil
506 }
507
508 // Message sent by the client for the `UpdateCustomClass` method.
509 type UpdateCustomClassRequest struct {
510 state protoimpl.MessageState
511 sizeCache protoimpl.SizeCache
512 unknownFields protoimpl.UnknownFields
513
514 // Required. The custom class to update.
515 //
516 // The custom class's `name` field is used to identify the custom class to be
517 // updated. Format:
518 //
519 // `projects/{project}/locations/{location}/customClasses/{custom_class}`
520 //
521 // Speech-to-Text supports three locations: `global`, `us` (US North America),
522 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
523 // endpoint, use the `global` location. To specify a region, use a
524 // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
525 // with matching `us` or `eu` location value.
526 CustomClass *CustomClass `protobuf:"bytes,1,opt,name=custom_class,json=customClass,proto3" json:"custom_class,omitempty"`
527 // The list of fields to be updated.
528 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
529 }
530
531 func (x *UpdateCustomClassRequest) Reset() {
532 *x = UpdateCustomClassRequest{}
533 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[7]
534 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
535 ms.StoreMessageInfo(mi)
536 }
537
538 func (x *UpdateCustomClassRequest) String() string {
539 return protoimpl.X.MessageStringOf(x)
540 }
541
542 func (*UpdateCustomClassRequest) ProtoMessage() {}
543
544 func (x *UpdateCustomClassRequest) ProtoReflect() protoreflect.Message {
545 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[7]
546 if x != nil {
547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
548 if ms.LoadMessageInfo() == nil {
549 ms.StoreMessageInfo(mi)
550 }
551 return ms
552 }
553 return mi.MessageOf(x)
554 }
555
556 // Deprecated: Use UpdateCustomClassRequest.ProtoReflect.Descriptor instead.
557 func (*UpdateCustomClassRequest) Descriptor() ([]byte, []int) {
558 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{7}
559 }
560
561 func (x *UpdateCustomClassRequest) GetCustomClass() *CustomClass {
562 if x != nil {
563 return x.CustomClass
564 }
565 return nil
566 }
567
568 func (x *UpdateCustomClassRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
569 if x != nil {
570 return x.UpdateMask
571 }
572 return nil
573 }
574
575 // Message sent by the client for the `GetCustomClass` method.
576 type GetCustomClassRequest struct {
577 state protoimpl.MessageState
578 sizeCache protoimpl.SizeCache
579 unknownFields protoimpl.UnknownFields
580
581 // Required. The name of the custom class to retrieve. Format:
582 //
583 // `projects/{project}/locations/{location}/customClasses/{custom_class}`
584 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
585 }
586
587 func (x *GetCustomClassRequest) Reset() {
588 *x = GetCustomClassRequest{}
589 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[8]
590 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
591 ms.StoreMessageInfo(mi)
592 }
593
594 func (x *GetCustomClassRequest) String() string {
595 return protoimpl.X.MessageStringOf(x)
596 }
597
598 func (*GetCustomClassRequest) ProtoMessage() {}
599
600 func (x *GetCustomClassRequest) ProtoReflect() protoreflect.Message {
601 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[8]
602 if x != nil {
603 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
604 if ms.LoadMessageInfo() == nil {
605 ms.StoreMessageInfo(mi)
606 }
607 return ms
608 }
609 return mi.MessageOf(x)
610 }
611
612 // Deprecated: Use GetCustomClassRequest.ProtoReflect.Descriptor instead.
613 func (*GetCustomClassRequest) Descriptor() ([]byte, []int) {
614 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{8}
615 }
616
617 func (x *GetCustomClassRequest) GetName() string {
618 if x != nil {
619 return x.Name
620 }
621 return ""
622 }
623
624 // Message sent by the client for the `ListCustomClasses` method.
625 type ListCustomClassesRequest struct {
626 state protoimpl.MessageState
627 sizeCache protoimpl.SizeCache
628 unknownFields protoimpl.UnknownFields
629
630 // Required. The parent, which owns this collection of custom classes. Format:
631 //
632 // `projects/{project}/locations/{location}/customClasses`
633 //
634 // Speech-to-Text supports three locations: `global`, `us` (US North America),
635 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
636 // endpoint, use the `global` location. To specify a region, use a
637 // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
638 // with matching `us` or `eu` location value.
639 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
640 // The maximum number of custom classes to return. The service may return
641 // fewer than this value. If unspecified, at most 50 custom classes will be
642 // returned. The maximum value is 1000; values above 1000 will be coerced to
643 // 1000.
644 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
645 // A page token, received from a previous `ListCustomClass` call.
646 // Provide this to retrieve the subsequent page.
647 //
648 // When paginating, all other parameters provided to `ListCustomClass` must
649 // match the call that provided the page token.
650 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
651 }
652
653 func (x *ListCustomClassesRequest) Reset() {
654 *x = ListCustomClassesRequest{}
655 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[9]
656 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
657 ms.StoreMessageInfo(mi)
658 }
659
660 func (x *ListCustomClassesRequest) String() string {
661 return protoimpl.X.MessageStringOf(x)
662 }
663
664 func (*ListCustomClassesRequest) ProtoMessage() {}
665
666 func (x *ListCustomClassesRequest) ProtoReflect() protoreflect.Message {
667 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[9]
668 if x != nil {
669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
670 if ms.LoadMessageInfo() == nil {
671 ms.StoreMessageInfo(mi)
672 }
673 return ms
674 }
675 return mi.MessageOf(x)
676 }
677
678 // Deprecated: Use ListCustomClassesRequest.ProtoReflect.Descriptor instead.
679 func (*ListCustomClassesRequest) Descriptor() ([]byte, []int) {
680 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{9}
681 }
682
683 func (x *ListCustomClassesRequest) GetParent() string {
684 if x != nil {
685 return x.Parent
686 }
687 return ""
688 }
689
690 func (x *ListCustomClassesRequest) GetPageSize() int32 {
691 if x != nil {
692 return x.PageSize
693 }
694 return 0
695 }
696
697 func (x *ListCustomClassesRequest) GetPageToken() string {
698 if x != nil {
699 return x.PageToken
700 }
701 return ""
702 }
703
704 // Message returned to the client by the `ListCustomClasses` method.
705 type ListCustomClassesResponse struct {
706 state protoimpl.MessageState
707 sizeCache protoimpl.SizeCache
708 unknownFields protoimpl.UnknownFields
709
710 // The custom classes.
711 CustomClasses []*CustomClass `protobuf:"bytes,1,rep,name=custom_classes,json=customClasses,proto3" json:"custom_classes,omitempty"`
712 // A token, which can be sent as `page_token` to retrieve the next page.
713 // If this field is omitted, there are no subsequent pages.
714 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
715 }
716
717 func (x *ListCustomClassesResponse) Reset() {
718 *x = ListCustomClassesResponse{}
719 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[10]
720 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
721 ms.StoreMessageInfo(mi)
722 }
723
724 func (x *ListCustomClassesResponse) String() string {
725 return protoimpl.X.MessageStringOf(x)
726 }
727
728 func (*ListCustomClassesResponse) ProtoMessage() {}
729
730 func (x *ListCustomClassesResponse) ProtoReflect() protoreflect.Message {
731 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[10]
732 if x != nil {
733 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
734 if ms.LoadMessageInfo() == nil {
735 ms.StoreMessageInfo(mi)
736 }
737 return ms
738 }
739 return mi.MessageOf(x)
740 }
741
742 // Deprecated: Use ListCustomClassesResponse.ProtoReflect.Descriptor instead.
743 func (*ListCustomClassesResponse) Descriptor() ([]byte, []int) {
744 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{10}
745 }
746
747 func (x *ListCustomClassesResponse) GetCustomClasses() []*CustomClass {
748 if x != nil {
749 return x.CustomClasses
750 }
751 return nil
752 }
753
754 func (x *ListCustomClassesResponse) GetNextPageToken() string {
755 if x != nil {
756 return x.NextPageToken
757 }
758 return ""
759 }
760
761 // Message sent by the client for the `DeleteCustomClass` method.
762 type DeleteCustomClassRequest struct {
763 state protoimpl.MessageState
764 sizeCache protoimpl.SizeCache
765 unknownFields protoimpl.UnknownFields
766
767 // Required. The name of the custom class to delete. Format:
768 //
769 // `projects/{project}/locations/{location}/customClasses/{custom_class}`
770 //
771 // Speech-to-Text supports three locations: `global`, `us` (US North America),
772 // and `eu` (Europe). If you are calling the `speech.googleapis.com`
773 // endpoint, use the `global` location. To specify a region, use a
774 // [regional endpoint](https://cloud.google.com/speech-to-text/docs/endpoints)
775 // with matching `us` or `eu` location value.
776 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
777 }
778
779 func (x *DeleteCustomClassRequest) Reset() {
780 *x = DeleteCustomClassRequest{}
781 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[11]
782 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
783 ms.StoreMessageInfo(mi)
784 }
785
786 func (x *DeleteCustomClassRequest) String() string {
787 return protoimpl.X.MessageStringOf(x)
788 }
789
790 func (*DeleteCustomClassRequest) ProtoMessage() {}
791
792 func (x *DeleteCustomClassRequest) ProtoReflect() protoreflect.Message {
793 mi := &file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes[11]
794 if x != nil {
795 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
796 if ms.LoadMessageInfo() == nil {
797 ms.StoreMessageInfo(mi)
798 }
799 return ms
800 }
801 return mi.MessageOf(x)
802 }
803
804 // Deprecated: Use DeleteCustomClassRequest.ProtoReflect.Descriptor instead.
805 func (*DeleteCustomClassRequest) Descriptor() ([]byte, []int) {
806 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP(), []int{11}
807 }
808
809 func (x *DeleteCustomClassRequest) GetName() string {
810 if x != nil {
811 return x.Name
812 }
813 return ""
814 }
815
816 var File_google_cloud_speech_v1_cloud_speech_adaptation_proto protoreflect.FileDescriptor
817
818 var file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDesc = []byte{
819 0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
820 0x70, 0x65, 0x65, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73,
821 0x70, 0x65, 0x65, 0x63, 0x68, 0x5f, 0x61, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
822 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
823 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x1a, 0x1c,
824 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
825 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f,
826 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
827 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
828 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,
829 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
830 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
831 0x6f, 0x1a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f,
832 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
833 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
834 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e,
835 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
836 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73,
837 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc9, 0x01, 0x0a, 0x16, 0x43, 0x72, 0x65, 0x61,
838 0x74, 0x65, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
839 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
840 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x73, 0x70, 0x65, 0x65,
841 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
842 0x6d, 0x2f, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72,
843 0x65, 0x6e, 0x74, 0x12, 0x27, 0x0a, 0x0d, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65,
844 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
845 0x0b, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x49, 0x64, 0x12, 0x45, 0x0a, 0x0a,
846 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
847 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
848 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65,
849 0x53, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65,
850 0x53, 0x65, 0x74, 0x22, 0x9c, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68,
851 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45,
852 0x0a, 0x0a, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,
853 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
854 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x72, 0x61,
855 0x73, 0x65, 0x53, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x68, 0x72, 0x61,
856 0x73, 0x65, 0x53, 0x65, 0x74, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f,
857 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
858 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65,
859 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61,
860 0x73, 0x6b, 0x22, 0x52, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53,
861 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
862 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a,
863 0x1f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
864 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74,
865 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x93, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x50,
866 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
867 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
868 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x12, 0x1f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e,
869 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,
870 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
871 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20,
872 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a,
873 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28,
874 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x83, 0x01, 0x0a,
875 0x15, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65,
876 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0b, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65,
877 0x5f, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f,
878 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63,
879 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x0a,
880 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65,
881 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20,
882 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b,
883 0x65, 0x6e, 0x22, 0x55, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x72, 0x61,
884 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04,
885 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa,
886 0x41, 0x21, 0x0a, 0x1f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
887 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65,
888 0x53, 0x65, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x18, 0x43, 0x72,
889 0x65, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52,
890 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
891 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x12, 0x21,
892 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
893 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73,
894 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x2b, 0x0a, 0x0f, 0x63, 0x75, 0x73,
895 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01,
896 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43,
897 0x6c, 0x61, 0x73, 0x73, 0x49, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d,
898 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67,
899 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65,
900 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73,
901 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c,
902 0x61, 0x73, 0x73, 0x22, 0xa4, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75,
903 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
904 0x12, 0x4b, 0x0a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73,
905 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
906 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e,
907 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x02,
908 0x52, 0x0b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x3b, 0x0a,
909 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01,
910 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
911 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a,
912 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x56, 0x0a, 0x15, 0x47, 0x65,
913 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75,
914 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
915 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x73, 0x70, 0x65, 0x65, 0x63,
916 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
917 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x04, 0x6e, 0x61,
918 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f,
919 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
920 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
921 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x12, 0x21, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e,
922 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43,
923 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
924 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
925 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
926 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20,
927 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8f,
928 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61,
929 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4a, 0x0a, 0x0e,
930 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x18, 0x01,
931 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
932 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75,
933 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x0d, 0x63, 0x75, 0x73, 0x74, 0x6f,
934 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
935 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
936 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
937 0x22, 0x59, 0x0a, 0x18, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
938 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04,
939 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa,
940 0x41, 0x23, 0x0a, 0x21, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
941 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
942 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x8e, 0x0f, 0x0a, 0x0a,
943 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0xc1, 0x01, 0x0a, 0x0f, 0x43,
944 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x12, 0x2e,
945 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70,
946 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x50, 0x68,
947 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
948 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70,
949 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65,
950 0x74, 0x22, 0x5b, 0xda, 0x41, 0x1f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x70, 0x68, 0x72,
951 0x61, 0x73, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2c, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x73,
952 0x65, 0x74, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x3a, 0x01, 0x2a, 0x22, 0x2e,
953 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
954 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
955 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0x9d,
956 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x12,
957 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
958 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x68, 0x72, 0x61,
959 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67,
960 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65,
961 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x22,
962 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e,
963 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
964 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a,
965 0x2f, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xad,
966 0x01, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74,
967 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
968 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68,
969 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d,
970 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70,
971 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x68, 0x72, 0x61,
972 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3f, 0xda,
973 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x12, 0x2e,
974 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
975 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
976 0x2f, 0x2a, 0x7d, 0x2f, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x73, 0x12, 0xcc,
977 0x01, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53,
978 0x65, 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
979 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
980 0x74, 0x65, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65,
981 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
982 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x72, 0x61,
983 0x73, 0x65, 0x53, 0x65, 0x74, 0x22, 0x66, 0xda, 0x41, 0x16, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65,
984 0x5f, 0x73, 0x65, 0x74, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
985 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x47, 0x3a, 0x0a, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f, 0x73,
986 0x65, 0x74, 0x32, 0x39, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x5f,
987 0x73, 0x65, 0x74, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
988 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
989 0x70, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x98, 0x01,
990 0x0a, 0x0f, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65,
991 0x74, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
992 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74,
993 0x65, 0x50, 0x68, 0x72, 0x61, 0x73, 0x65, 0x53, 0x65, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
994 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
995 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3d, 0xda, 0x41, 0x04, 0x6e, 0x61,
996 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x30, 0x2a, 0x2e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
997 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c,
998 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x70, 0x68, 0x72, 0x61, 0x73,
999 0x65, 0x53, 0x65, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xce, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65,
1000 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x30,
1001 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70,
1002 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x75,
1003 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1004 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1005 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
1006 0x43, 0x6c, 0x61, 0x73, 0x73, 0x22, 0x62, 0xda, 0x41, 0x23, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
1007 0x2c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2c, 0x63, 0x75,
1008 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x5f, 0x69, 0x64, 0x82, 0xd3, 0xe4,
1009 0x93, 0x02, 0x36, 0x3a, 0x01, 0x2a, 0x22, 0x31, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
1010 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c,
1011 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x75, 0x73, 0x74,
1012 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0xa6, 0x01, 0x0a, 0x0e, 0x47, 0x65,
1013 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x2d, 0x2e, 0x67,
1014 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65,
1015 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43,
1016 0x6c, 0x61, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f,
1017 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63,
1018 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73,
1019 0x22, 0x40, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x12,
1020 0x31, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
1021 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
1022 0x2a, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f,
1023 0x2a, 0x7d, 0x12, 0xbc, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f,
1024 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1025 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76,
1026 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73,
1027 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f,
1028 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68,
1029 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c,
1030 0x61, 0x73, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x42, 0xda,
1031 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x12, 0x31,
1032 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
1033 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1034 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65,
1035 0x73, 0x12, 0xdb, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74,
1036 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1037 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31,
1038 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61,
1039 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1040 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e,
1041 0x76, 0x31, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x22, 0x6f,
1042 0xda, 0x41, 0x18, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x2c,
1043 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02,
1044 0x4e, 0x3a, 0x0c, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x32,
1045 0x3e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x63, 0x6c, 0x61,
1046 0x73, 0x73, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
1047 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63,
1048 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12,
1049 0x9f, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
1050 0x43, 0x6c, 0x61, 0x73, 0x73, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1051 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x2e, 0x44,
1052 0x65, 0x6c, 0x65, 0x74, 0x65, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73,
1053 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1054 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22,
1055 0x40, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x33, 0x2a, 0x31,
1056 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63,
1057 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a,
1058 0x2f, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x65, 0x73, 0x2f, 0x2a,
1059 0x7d, 0x1a, 0x49, 0xca, 0x41, 0x15, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f,
1060 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74,
1061 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1062 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c,
1063 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x72, 0x0a, 0x1a,
1064 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1065 0x2e, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x42, 0x15, 0x53, 0x70, 0x65, 0x65,
1066 0x63, 0x68, 0x41, 0x64, 0x61, 0x70, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74,
1067 0x6f, 0x50, 0x01, 0x5a, 0x32, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1068 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x2f,
1069 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x70, 0x65, 0x65, 0x63, 0x68, 0x70, 0x62, 0x3b, 0x73,
1070 0x70, 0x65, 0x65, 0x63, 0x68, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x43, 0x53,
1071 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1072 }
1073
1074 var (
1075 file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescOnce sync.Once
1076 file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescData = file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDesc
1077 )
1078
1079 func file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescGZIP() []byte {
1080 file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescOnce.Do(func() {
1081 file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescData)
1082 })
1083 return file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDescData
1084 }
1085
1086 var file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
1087 var file_google_cloud_speech_v1_cloud_speech_adaptation_proto_goTypes = []any{
1088 (*CreatePhraseSetRequest)(nil), // 0: google.cloud.speech.v1.CreatePhraseSetRequest
1089 (*UpdatePhraseSetRequest)(nil), // 1: google.cloud.speech.v1.UpdatePhraseSetRequest
1090 (*GetPhraseSetRequest)(nil), // 2: google.cloud.speech.v1.GetPhraseSetRequest
1091 (*ListPhraseSetRequest)(nil), // 3: google.cloud.speech.v1.ListPhraseSetRequest
1092 (*ListPhraseSetResponse)(nil), // 4: google.cloud.speech.v1.ListPhraseSetResponse
1093 (*DeletePhraseSetRequest)(nil), // 5: google.cloud.speech.v1.DeletePhraseSetRequest
1094 (*CreateCustomClassRequest)(nil), // 6: google.cloud.speech.v1.CreateCustomClassRequest
1095 (*UpdateCustomClassRequest)(nil), // 7: google.cloud.speech.v1.UpdateCustomClassRequest
1096 (*GetCustomClassRequest)(nil), // 8: google.cloud.speech.v1.GetCustomClassRequest
1097 (*ListCustomClassesRequest)(nil), // 9: google.cloud.speech.v1.ListCustomClassesRequest
1098 (*ListCustomClassesResponse)(nil), // 10: google.cloud.speech.v1.ListCustomClassesResponse
1099 (*DeleteCustomClassRequest)(nil), // 11: google.cloud.speech.v1.DeleteCustomClassRequest
1100 (*PhraseSet)(nil), // 12: google.cloud.speech.v1.PhraseSet
1101 (*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask
1102 (*CustomClass)(nil), // 14: google.cloud.speech.v1.CustomClass
1103 (*emptypb.Empty)(nil), // 15: google.protobuf.Empty
1104 }
1105 var file_google_cloud_speech_v1_cloud_speech_adaptation_proto_depIdxs = []int32{
1106 12, // 0: google.cloud.speech.v1.CreatePhraseSetRequest.phrase_set:type_name -> google.cloud.speech.v1.PhraseSet
1107 12, // 1: google.cloud.speech.v1.UpdatePhraseSetRequest.phrase_set:type_name -> google.cloud.speech.v1.PhraseSet
1108 13, // 2: google.cloud.speech.v1.UpdatePhraseSetRequest.update_mask:type_name -> google.protobuf.FieldMask
1109 12, // 3: google.cloud.speech.v1.ListPhraseSetResponse.phrase_sets:type_name -> google.cloud.speech.v1.PhraseSet
1110 14, // 4: google.cloud.speech.v1.CreateCustomClassRequest.custom_class:type_name -> google.cloud.speech.v1.CustomClass
1111 14, // 5: google.cloud.speech.v1.UpdateCustomClassRequest.custom_class:type_name -> google.cloud.speech.v1.CustomClass
1112 13, // 6: google.cloud.speech.v1.UpdateCustomClassRequest.update_mask:type_name -> google.protobuf.FieldMask
1113 14, // 7: google.cloud.speech.v1.ListCustomClassesResponse.custom_classes:type_name -> google.cloud.speech.v1.CustomClass
1114 0, // 8: google.cloud.speech.v1.Adaptation.CreatePhraseSet:input_type -> google.cloud.speech.v1.CreatePhraseSetRequest
1115 2, // 9: google.cloud.speech.v1.Adaptation.GetPhraseSet:input_type -> google.cloud.speech.v1.GetPhraseSetRequest
1116 3, // 10: google.cloud.speech.v1.Adaptation.ListPhraseSet:input_type -> google.cloud.speech.v1.ListPhraseSetRequest
1117 1, // 11: google.cloud.speech.v1.Adaptation.UpdatePhraseSet:input_type -> google.cloud.speech.v1.UpdatePhraseSetRequest
1118 5, // 12: google.cloud.speech.v1.Adaptation.DeletePhraseSet:input_type -> google.cloud.speech.v1.DeletePhraseSetRequest
1119 6, // 13: google.cloud.speech.v1.Adaptation.CreateCustomClass:input_type -> google.cloud.speech.v1.CreateCustomClassRequest
1120 8, // 14: google.cloud.speech.v1.Adaptation.GetCustomClass:input_type -> google.cloud.speech.v1.GetCustomClassRequest
1121 9, // 15: google.cloud.speech.v1.Adaptation.ListCustomClasses:input_type -> google.cloud.speech.v1.ListCustomClassesRequest
1122 7, // 16: google.cloud.speech.v1.Adaptation.UpdateCustomClass:input_type -> google.cloud.speech.v1.UpdateCustomClassRequest
1123 11, // 17: google.cloud.speech.v1.Adaptation.DeleteCustomClass:input_type -> google.cloud.speech.v1.DeleteCustomClassRequest
1124 12, // 18: google.cloud.speech.v1.Adaptation.CreatePhraseSet:output_type -> google.cloud.speech.v1.PhraseSet
1125 12, // 19: google.cloud.speech.v1.Adaptation.GetPhraseSet:output_type -> google.cloud.speech.v1.PhraseSet
1126 4, // 20: google.cloud.speech.v1.Adaptation.ListPhraseSet:output_type -> google.cloud.speech.v1.ListPhraseSetResponse
1127 12, // 21: google.cloud.speech.v1.Adaptation.UpdatePhraseSet:output_type -> google.cloud.speech.v1.PhraseSet
1128 15, // 22: google.cloud.speech.v1.Adaptation.DeletePhraseSet:output_type -> google.protobuf.Empty
1129 14, // 23: google.cloud.speech.v1.Adaptation.CreateCustomClass:output_type -> google.cloud.speech.v1.CustomClass
1130 14, // 24: google.cloud.speech.v1.Adaptation.GetCustomClass:output_type -> google.cloud.speech.v1.CustomClass
1131 10, // 25: google.cloud.speech.v1.Adaptation.ListCustomClasses:output_type -> google.cloud.speech.v1.ListCustomClassesResponse
1132 14, // 26: google.cloud.speech.v1.Adaptation.UpdateCustomClass:output_type -> google.cloud.speech.v1.CustomClass
1133 15, // 27: google.cloud.speech.v1.Adaptation.DeleteCustomClass:output_type -> google.protobuf.Empty
1134 18, // [18:28] is the sub-list for method output_type
1135 8, // [8:18] is the sub-list for method input_type
1136 8, // [8:8] is the sub-list for extension type_name
1137 8, // [8:8] is the sub-list for extension extendee
1138 0, // [0:8] is the sub-list for field type_name
1139 }
1140
1141 func init() { file_google_cloud_speech_v1_cloud_speech_adaptation_proto_init() }
1142 func file_google_cloud_speech_v1_cloud_speech_adaptation_proto_init() {
1143 if File_google_cloud_speech_v1_cloud_speech_adaptation_proto != nil {
1144 return
1145 }
1146 file_google_cloud_speech_v1_resource_proto_init()
1147 type x struct{}
1148 out := protoimpl.TypeBuilder{
1149 File: protoimpl.DescBuilder{
1150 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1151 RawDescriptor: file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDesc,
1152 NumEnums: 0,
1153 NumMessages: 12,
1154 NumExtensions: 0,
1155 NumServices: 1,
1156 },
1157 GoTypes: file_google_cloud_speech_v1_cloud_speech_adaptation_proto_goTypes,
1158 DependencyIndexes: file_google_cloud_speech_v1_cloud_speech_adaptation_proto_depIdxs,
1159 MessageInfos: file_google_cloud_speech_v1_cloud_speech_adaptation_proto_msgTypes,
1160 }.Build()
1161 File_google_cloud_speech_v1_cloud_speech_adaptation_proto = out.File
1162 file_google_cloud_speech_v1_cloud_speech_adaptation_proto_rawDesc = nil
1163 file_google_cloud_speech_v1_cloud_speech_adaptation_proto_goTypes = nil
1164 file_google_cloud_speech_v1_cloud_speech_adaptation_proto_depIdxs = nil
1165 }
1166
1167 // Reference imports to suppress errors if they are not otherwise used.
1168 var _ context.Context
1169 var _ grpc.ClientConnInterface
1170
1171 // This is a compile-time assertion to ensure that this generated file
1172 // is compatible with the grpc package it is being compiled against.
1173 const _ = grpc.SupportPackageIsVersion6
1174
1175 // AdaptationClient is the client API for Adaptation service.
1176 //
1177 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1178 type AdaptationClient interface {
1179 // Create a set of phrase hints. Each item in the set can be a single word or
1180 // a multi-word phrase. The items in the PhraseSet are favored by the
1181 // recognition model when you send a call that includes the PhraseSet.
1182 CreatePhraseSet(ctx context.Context, in *CreatePhraseSetRequest, opts ...grpc.CallOption) (*PhraseSet, error)
1183 // Get a phrase set.
1184 GetPhraseSet(ctx context.Context, in *GetPhraseSetRequest, opts ...grpc.CallOption) (*PhraseSet, error)
1185 // List phrase sets.
1186 ListPhraseSet(ctx context.Context, in *ListPhraseSetRequest, opts ...grpc.CallOption) (*ListPhraseSetResponse, error)
1187 // Update a phrase set.
1188 UpdatePhraseSet(ctx context.Context, in *UpdatePhraseSetRequest, opts ...grpc.CallOption) (*PhraseSet, error)
1189 // Delete a phrase set.
1190 DeletePhraseSet(ctx context.Context, in *DeletePhraseSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1191 // Create a custom class.
1192 CreateCustomClass(ctx context.Context, in *CreateCustomClassRequest, opts ...grpc.CallOption) (*CustomClass, error)
1193 // Get a custom class.
1194 GetCustomClass(ctx context.Context, in *GetCustomClassRequest, opts ...grpc.CallOption) (*CustomClass, error)
1195 // List custom classes.
1196 ListCustomClasses(ctx context.Context, in *ListCustomClassesRequest, opts ...grpc.CallOption) (*ListCustomClassesResponse, error)
1197 // Update a custom class.
1198 UpdateCustomClass(ctx context.Context, in *UpdateCustomClassRequest, opts ...grpc.CallOption) (*CustomClass, error)
1199 // Delete a custom class.
1200 DeleteCustomClass(ctx context.Context, in *DeleteCustomClassRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1201 }
1202
1203 type adaptationClient struct {
1204 cc grpc.ClientConnInterface
1205 }
1206
1207 func NewAdaptationClient(cc grpc.ClientConnInterface) AdaptationClient {
1208 return &adaptationClient{cc}
1209 }
1210
1211 func (c *adaptationClient) CreatePhraseSet(ctx context.Context, in *CreatePhraseSetRequest, opts ...grpc.CallOption) (*PhraseSet, error) {
1212 out := new(PhraseSet)
1213 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/CreatePhraseSet", in, out, opts...)
1214 if err != nil {
1215 return nil, err
1216 }
1217 return out, nil
1218 }
1219
1220 func (c *adaptationClient) GetPhraseSet(ctx context.Context, in *GetPhraseSetRequest, opts ...grpc.CallOption) (*PhraseSet, error) {
1221 out := new(PhraseSet)
1222 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/GetPhraseSet", in, out, opts...)
1223 if err != nil {
1224 return nil, err
1225 }
1226 return out, nil
1227 }
1228
1229 func (c *adaptationClient) ListPhraseSet(ctx context.Context, in *ListPhraseSetRequest, opts ...grpc.CallOption) (*ListPhraseSetResponse, error) {
1230 out := new(ListPhraseSetResponse)
1231 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/ListPhraseSet", in, out, opts...)
1232 if err != nil {
1233 return nil, err
1234 }
1235 return out, nil
1236 }
1237
1238 func (c *adaptationClient) UpdatePhraseSet(ctx context.Context, in *UpdatePhraseSetRequest, opts ...grpc.CallOption) (*PhraseSet, error) {
1239 out := new(PhraseSet)
1240 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/UpdatePhraseSet", in, out, opts...)
1241 if err != nil {
1242 return nil, err
1243 }
1244 return out, nil
1245 }
1246
1247 func (c *adaptationClient) DeletePhraseSet(ctx context.Context, in *DeletePhraseSetRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1248 out := new(emptypb.Empty)
1249 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/DeletePhraseSet", in, out, opts...)
1250 if err != nil {
1251 return nil, err
1252 }
1253 return out, nil
1254 }
1255
1256 func (c *adaptationClient) CreateCustomClass(ctx context.Context, in *CreateCustomClassRequest, opts ...grpc.CallOption) (*CustomClass, error) {
1257 out := new(CustomClass)
1258 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/CreateCustomClass", in, out, opts...)
1259 if err != nil {
1260 return nil, err
1261 }
1262 return out, nil
1263 }
1264
1265 func (c *adaptationClient) GetCustomClass(ctx context.Context, in *GetCustomClassRequest, opts ...grpc.CallOption) (*CustomClass, error) {
1266 out := new(CustomClass)
1267 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/GetCustomClass", in, out, opts...)
1268 if err != nil {
1269 return nil, err
1270 }
1271 return out, nil
1272 }
1273
1274 func (c *adaptationClient) ListCustomClasses(ctx context.Context, in *ListCustomClassesRequest, opts ...grpc.CallOption) (*ListCustomClassesResponse, error) {
1275 out := new(ListCustomClassesResponse)
1276 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/ListCustomClasses", in, out, opts...)
1277 if err != nil {
1278 return nil, err
1279 }
1280 return out, nil
1281 }
1282
1283 func (c *adaptationClient) UpdateCustomClass(ctx context.Context, in *UpdateCustomClassRequest, opts ...grpc.CallOption) (*CustomClass, error) {
1284 out := new(CustomClass)
1285 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/UpdateCustomClass", in, out, opts...)
1286 if err != nil {
1287 return nil, err
1288 }
1289 return out, nil
1290 }
1291
1292 func (c *adaptationClient) DeleteCustomClass(ctx context.Context, in *DeleteCustomClassRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1293 out := new(emptypb.Empty)
1294 err := c.cc.Invoke(ctx, "/google.cloud.speech.v1.Adaptation/DeleteCustomClass", in, out, opts...)
1295 if err != nil {
1296 return nil, err
1297 }
1298 return out, nil
1299 }
1300
1301 // AdaptationServer is the server API for Adaptation service.
1302 type AdaptationServer interface {
1303 // Create a set of phrase hints. Each item in the set can be a single word or
1304 // a multi-word phrase. The items in the PhraseSet are favored by the
1305 // recognition model when you send a call that includes the PhraseSet.
1306 CreatePhraseSet(context.Context, *CreatePhraseSetRequest) (*PhraseSet, error)
1307 // Get a phrase set.
1308 GetPhraseSet(context.Context, *GetPhraseSetRequest) (*PhraseSet, error)
1309 // List phrase sets.
1310 ListPhraseSet(context.Context, *ListPhraseSetRequest) (*ListPhraseSetResponse, error)
1311 // Update a phrase set.
1312 UpdatePhraseSet(context.Context, *UpdatePhraseSetRequest) (*PhraseSet, error)
1313 // Delete a phrase set.
1314 DeletePhraseSet(context.Context, *DeletePhraseSetRequest) (*emptypb.Empty, error)
1315 // Create a custom class.
1316 CreateCustomClass(context.Context, *CreateCustomClassRequest) (*CustomClass, error)
1317 // Get a custom class.
1318 GetCustomClass(context.Context, *GetCustomClassRequest) (*CustomClass, error)
1319 // List custom classes.
1320 ListCustomClasses(context.Context, *ListCustomClassesRequest) (*ListCustomClassesResponse, error)
1321 // Update a custom class.
1322 UpdateCustomClass(context.Context, *UpdateCustomClassRequest) (*CustomClass, error)
1323 // Delete a custom class.
1324 DeleteCustomClass(context.Context, *DeleteCustomClassRequest) (*emptypb.Empty, error)
1325 }
1326
1327 // UnimplementedAdaptationServer can be embedded to have forward compatible implementations.
1328 type UnimplementedAdaptationServer struct {
1329 }
1330
1331 func (*UnimplementedAdaptationServer) CreatePhraseSet(context.Context, *CreatePhraseSetRequest) (*PhraseSet, error) {
1332 return nil, status.Errorf(codes.Unimplemented, "method CreatePhraseSet not implemented")
1333 }
1334 func (*UnimplementedAdaptationServer) GetPhraseSet(context.Context, *GetPhraseSetRequest) (*PhraseSet, error) {
1335 return nil, status.Errorf(codes.Unimplemented, "method GetPhraseSet not implemented")
1336 }
1337 func (*UnimplementedAdaptationServer) ListPhraseSet(context.Context, *ListPhraseSetRequest) (*ListPhraseSetResponse, error) {
1338 return nil, status.Errorf(codes.Unimplemented, "method ListPhraseSet not implemented")
1339 }
1340 func (*UnimplementedAdaptationServer) UpdatePhraseSet(context.Context, *UpdatePhraseSetRequest) (*PhraseSet, error) {
1341 return nil, status.Errorf(codes.Unimplemented, "method UpdatePhraseSet not implemented")
1342 }
1343 func (*UnimplementedAdaptationServer) DeletePhraseSet(context.Context, *DeletePhraseSetRequest) (*emptypb.Empty, error) {
1344 return nil, status.Errorf(codes.Unimplemented, "method DeletePhraseSet not implemented")
1345 }
1346 func (*UnimplementedAdaptationServer) CreateCustomClass(context.Context, *CreateCustomClassRequest) (*CustomClass, error) {
1347 return nil, status.Errorf(codes.Unimplemented, "method CreateCustomClass not implemented")
1348 }
1349 func (*UnimplementedAdaptationServer) GetCustomClass(context.Context, *GetCustomClassRequest) (*CustomClass, error) {
1350 return nil, status.Errorf(codes.Unimplemented, "method GetCustomClass not implemented")
1351 }
1352 func (*UnimplementedAdaptationServer) ListCustomClasses(context.Context, *ListCustomClassesRequest) (*ListCustomClassesResponse, error) {
1353 return nil, status.Errorf(codes.Unimplemented, "method ListCustomClasses not implemented")
1354 }
1355 func (*UnimplementedAdaptationServer) UpdateCustomClass(context.Context, *UpdateCustomClassRequest) (*CustomClass, error) {
1356 return nil, status.Errorf(codes.Unimplemented, "method UpdateCustomClass not implemented")
1357 }
1358 func (*UnimplementedAdaptationServer) DeleteCustomClass(context.Context, *DeleteCustomClassRequest) (*emptypb.Empty, error) {
1359 return nil, status.Errorf(codes.Unimplemented, "method DeleteCustomClass not implemented")
1360 }
1361
1362 func RegisterAdaptationServer(s *grpc.Server, srv AdaptationServer) {
1363 s.RegisterService(&_Adaptation_serviceDesc, srv)
1364 }
1365
1366 func _Adaptation_CreatePhraseSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1367 in := new(CreatePhraseSetRequest)
1368 if err := dec(in); err != nil {
1369 return nil, err
1370 }
1371 if interceptor == nil {
1372 return srv.(AdaptationServer).CreatePhraseSet(ctx, in)
1373 }
1374 info := &grpc.UnaryServerInfo{
1375 Server: srv,
1376 FullMethod: "/google.cloud.speech.v1.Adaptation/CreatePhraseSet",
1377 }
1378 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1379 return srv.(AdaptationServer).CreatePhraseSet(ctx, req.(*CreatePhraseSetRequest))
1380 }
1381 return interceptor(ctx, in, info, handler)
1382 }
1383
1384 func _Adaptation_GetPhraseSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1385 in := new(GetPhraseSetRequest)
1386 if err := dec(in); err != nil {
1387 return nil, err
1388 }
1389 if interceptor == nil {
1390 return srv.(AdaptationServer).GetPhraseSet(ctx, in)
1391 }
1392 info := &grpc.UnaryServerInfo{
1393 Server: srv,
1394 FullMethod: "/google.cloud.speech.v1.Adaptation/GetPhraseSet",
1395 }
1396 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1397 return srv.(AdaptationServer).GetPhraseSet(ctx, req.(*GetPhraseSetRequest))
1398 }
1399 return interceptor(ctx, in, info, handler)
1400 }
1401
1402 func _Adaptation_ListPhraseSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1403 in := new(ListPhraseSetRequest)
1404 if err := dec(in); err != nil {
1405 return nil, err
1406 }
1407 if interceptor == nil {
1408 return srv.(AdaptationServer).ListPhraseSet(ctx, in)
1409 }
1410 info := &grpc.UnaryServerInfo{
1411 Server: srv,
1412 FullMethod: "/google.cloud.speech.v1.Adaptation/ListPhraseSet",
1413 }
1414 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1415 return srv.(AdaptationServer).ListPhraseSet(ctx, req.(*ListPhraseSetRequest))
1416 }
1417 return interceptor(ctx, in, info, handler)
1418 }
1419
1420 func _Adaptation_UpdatePhraseSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1421 in := new(UpdatePhraseSetRequest)
1422 if err := dec(in); err != nil {
1423 return nil, err
1424 }
1425 if interceptor == nil {
1426 return srv.(AdaptationServer).UpdatePhraseSet(ctx, in)
1427 }
1428 info := &grpc.UnaryServerInfo{
1429 Server: srv,
1430 FullMethod: "/google.cloud.speech.v1.Adaptation/UpdatePhraseSet",
1431 }
1432 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1433 return srv.(AdaptationServer).UpdatePhraseSet(ctx, req.(*UpdatePhraseSetRequest))
1434 }
1435 return interceptor(ctx, in, info, handler)
1436 }
1437
1438 func _Adaptation_DeletePhraseSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1439 in := new(DeletePhraseSetRequest)
1440 if err := dec(in); err != nil {
1441 return nil, err
1442 }
1443 if interceptor == nil {
1444 return srv.(AdaptationServer).DeletePhraseSet(ctx, in)
1445 }
1446 info := &grpc.UnaryServerInfo{
1447 Server: srv,
1448 FullMethod: "/google.cloud.speech.v1.Adaptation/DeletePhraseSet",
1449 }
1450 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1451 return srv.(AdaptationServer).DeletePhraseSet(ctx, req.(*DeletePhraseSetRequest))
1452 }
1453 return interceptor(ctx, in, info, handler)
1454 }
1455
1456 func _Adaptation_CreateCustomClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1457 in := new(CreateCustomClassRequest)
1458 if err := dec(in); err != nil {
1459 return nil, err
1460 }
1461 if interceptor == nil {
1462 return srv.(AdaptationServer).CreateCustomClass(ctx, in)
1463 }
1464 info := &grpc.UnaryServerInfo{
1465 Server: srv,
1466 FullMethod: "/google.cloud.speech.v1.Adaptation/CreateCustomClass",
1467 }
1468 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1469 return srv.(AdaptationServer).CreateCustomClass(ctx, req.(*CreateCustomClassRequest))
1470 }
1471 return interceptor(ctx, in, info, handler)
1472 }
1473
1474 func _Adaptation_GetCustomClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1475 in := new(GetCustomClassRequest)
1476 if err := dec(in); err != nil {
1477 return nil, err
1478 }
1479 if interceptor == nil {
1480 return srv.(AdaptationServer).GetCustomClass(ctx, in)
1481 }
1482 info := &grpc.UnaryServerInfo{
1483 Server: srv,
1484 FullMethod: "/google.cloud.speech.v1.Adaptation/GetCustomClass",
1485 }
1486 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1487 return srv.(AdaptationServer).GetCustomClass(ctx, req.(*GetCustomClassRequest))
1488 }
1489 return interceptor(ctx, in, info, handler)
1490 }
1491
1492 func _Adaptation_ListCustomClasses_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1493 in := new(ListCustomClassesRequest)
1494 if err := dec(in); err != nil {
1495 return nil, err
1496 }
1497 if interceptor == nil {
1498 return srv.(AdaptationServer).ListCustomClasses(ctx, in)
1499 }
1500 info := &grpc.UnaryServerInfo{
1501 Server: srv,
1502 FullMethod: "/google.cloud.speech.v1.Adaptation/ListCustomClasses",
1503 }
1504 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1505 return srv.(AdaptationServer).ListCustomClasses(ctx, req.(*ListCustomClassesRequest))
1506 }
1507 return interceptor(ctx, in, info, handler)
1508 }
1509
1510 func _Adaptation_UpdateCustomClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1511 in := new(UpdateCustomClassRequest)
1512 if err := dec(in); err != nil {
1513 return nil, err
1514 }
1515 if interceptor == nil {
1516 return srv.(AdaptationServer).UpdateCustomClass(ctx, in)
1517 }
1518 info := &grpc.UnaryServerInfo{
1519 Server: srv,
1520 FullMethod: "/google.cloud.speech.v1.Adaptation/UpdateCustomClass",
1521 }
1522 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1523 return srv.(AdaptationServer).UpdateCustomClass(ctx, req.(*UpdateCustomClassRequest))
1524 }
1525 return interceptor(ctx, in, info, handler)
1526 }
1527
1528 func _Adaptation_DeleteCustomClass_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1529 in := new(DeleteCustomClassRequest)
1530 if err := dec(in); err != nil {
1531 return nil, err
1532 }
1533 if interceptor == nil {
1534 return srv.(AdaptationServer).DeleteCustomClass(ctx, in)
1535 }
1536 info := &grpc.UnaryServerInfo{
1537 Server: srv,
1538 FullMethod: "/google.cloud.speech.v1.Adaptation/DeleteCustomClass",
1539 }
1540 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1541 return srv.(AdaptationServer).DeleteCustomClass(ctx, req.(*DeleteCustomClassRequest))
1542 }
1543 return interceptor(ctx, in, info, handler)
1544 }
1545
1546 var _Adaptation_serviceDesc = grpc.ServiceDesc{
1547 ServiceName: "google.cloud.speech.v1.Adaptation",
1548 HandlerType: (*AdaptationServer)(nil),
1549 Methods: []grpc.MethodDesc{
1550 {
1551 MethodName: "CreatePhraseSet",
1552 Handler: _Adaptation_CreatePhraseSet_Handler,
1553 },
1554 {
1555 MethodName: "GetPhraseSet",
1556 Handler: _Adaptation_GetPhraseSet_Handler,
1557 },
1558 {
1559 MethodName: "ListPhraseSet",
1560 Handler: _Adaptation_ListPhraseSet_Handler,
1561 },
1562 {
1563 MethodName: "UpdatePhraseSet",
1564 Handler: _Adaptation_UpdatePhraseSet_Handler,
1565 },
1566 {
1567 MethodName: "DeletePhraseSet",
1568 Handler: _Adaptation_DeletePhraseSet_Handler,
1569 },
1570 {
1571 MethodName: "CreateCustomClass",
1572 Handler: _Adaptation_CreateCustomClass_Handler,
1573 },
1574 {
1575 MethodName: "GetCustomClass",
1576 Handler: _Adaptation_GetCustomClass_Handler,
1577 },
1578 {
1579 MethodName: "ListCustomClasses",
1580 Handler: _Adaptation_ListCustomClasses_Handler,
1581 },
1582 {
1583 MethodName: "UpdateCustomClass",
1584 Handler: _Adaptation_UpdateCustomClass_Handler,
1585 },
1586 {
1587 MethodName: "DeleteCustomClass",
1588 Handler: _Adaptation_DeleteCustomClass_Handler,
1589 },
1590 },
1591 Streams: []grpc.StreamDesc{},
1592 Metadata: "google/cloud/speech/v1/cloud_speech_adaptation.proto",
1593 }