Debian Codegraph @

support/apiv2beta/supportpb/case_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/support/v2beta/case_service.proto
20
21 package supportpb
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 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
32 reflect "reflect"
33 sync "sync"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // The request message for the GetCase endpoint.
44 type GetCaseRequest struct {
45 state protoimpl.MessageState
46 sizeCache protoimpl.SizeCache
47 unknownFields protoimpl.UnknownFields
48
49 // Required. The full name of a case to be retrieved.
50 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
51 }
52
53 func (x *GetCaseRequest) Reset() {
54 *x = GetCaseRequest{}
55 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[0]
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 ms.StoreMessageInfo(mi)
58 }
59
60 func (x *GetCaseRequest) String() string {
61 return protoimpl.X.MessageStringOf(x)
62 }
63
64 func (*GetCaseRequest) ProtoMessage() {}
65
66 func (x *GetCaseRequest) ProtoReflect() protoreflect.Message {
67 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[0]
68 if x != nil {
69 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
70 if ms.LoadMessageInfo() == nil {
71 ms.StoreMessageInfo(mi)
72 }
73 return ms
74 }
75 return mi.MessageOf(x)
76 }
77
78 // Deprecated: Use GetCaseRequest.ProtoReflect.Descriptor instead.
79 func (*GetCaseRequest) Descriptor() ([]byte, []int) {
80 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{0}
81 }
82
83 func (x *GetCaseRequest) GetName() string {
84 if x != nil {
85 return x.Name
86 }
87 return ""
88 }
89
90 // The request message for the CreateCase endpoint.
91 type CreateCaseRequest struct {
92 state protoimpl.MessageState
93 sizeCache protoimpl.SizeCache
94 unknownFields protoimpl.UnknownFields
95
96 // Required. The name of the parent under which the case should be created.
97 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
98 // Required. The case to be created.
99 Case *Case `protobuf:"bytes,2,opt,name=case,proto3" json:"case,omitempty"`
100 }
101
102 func (x *CreateCaseRequest) Reset() {
103 *x = CreateCaseRequest{}
104 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[1]
105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
106 ms.StoreMessageInfo(mi)
107 }
108
109 func (x *CreateCaseRequest) String() string {
110 return protoimpl.X.MessageStringOf(x)
111 }
112
113 func (*CreateCaseRequest) ProtoMessage() {}
114
115 func (x *CreateCaseRequest) ProtoReflect() protoreflect.Message {
116 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[1]
117 if x != nil {
118 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
119 if ms.LoadMessageInfo() == nil {
120 ms.StoreMessageInfo(mi)
121 }
122 return ms
123 }
124 return mi.MessageOf(x)
125 }
126
127 // Deprecated: Use CreateCaseRequest.ProtoReflect.Descriptor instead.
128 func (*CreateCaseRequest) Descriptor() ([]byte, []int) {
129 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{1}
130 }
131
132 func (x *CreateCaseRequest) GetParent() string {
133 if x != nil {
134 return x.Parent
135 }
136 return ""
137 }
138
139 func (x *CreateCaseRequest) GetCase() *Case {
140 if x != nil {
141 return x.Case
142 }
143 return nil
144 }
145
146 // The request message for the ListCases endpoint.
147 type ListCasesRequest struct {
148 state protoimpl.MessageState
149 sizeCache protoimpl.SizeCache
150 unknownFields protoimpl.UnknownFields
151
152 // Required. The name of a parent to list cases under.
153 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
154 // An expression used to filter cases.
155 //
156 // If it's an empty string, then no filtering happens. Otherwise, the endpoint
157 // returns the cases that match the filter.
158 //
159 // Expressions use the following fields separated by `AND` and specified with
160 // `=`:
161 //
162 // - `state`: Can be `OPEN` or `CLOSED`.
163 // - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You
164 // can specify multiple values for priority using the `OR` operator. For
165 // example, `priority=P1 OR priority=P2`.
166 // - `creator.email`: The email address of the case creator.
167 //
168 // EXAMPLES:
169 //
170 // - `state=CLOSED`
171 // - `state=OPEN AND creator.email="[email protected]"`
172 // - `state=OPEN AND (priority=P0 OR priority=P1)`
173 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
174 // The maximum number of cases fetched with each request. Defaults to 10.
175 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
176 // A token identifying the page of results to return. If unspecified, the
177 // first page is retrieved.
178 PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
179 // The product line to request cases for. If unspecified, only
180 // Google Cloud cases will be returned.
181 ProductLine *ProductLine `protobuf:"varint,8,opt,name=product_line,json=productLine,proto3,enum=google.cloud.support.v2beta.ProductLine,oneof" json:"product_line,omitempty"`
182 }
183
184 func (x *ListCasesRequest) Reset() {
185 *x = ListCasesRequest{}
186 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[2]
187 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
188 ms.StoreMessageInfo(mi)
189 }
190
191 func (x *ListCasesRequest) String() string {
192 return protoimpl.X.MessageStringOf(x)
193 }
194
195 func (*ListCasesRequest) ProtoMessage() {}
196
197 func (x *ListCasesRequest) ProtoReflect() protoreflect.Message {
198 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[2]
199 if x != nil {
200 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
201 if ms.LoadMessageInfo() == nil {
202 ms.StoreMessageInfo(mi)
203 }
204 return ms
205 }
206 return mi.MessageOf(x)
207 }
208
209 // Deprecated: Use ListCasesRequest.ProtoReflect.Descriptor instead.
210 func (*ListCasesRequest) Descriptor() ([]byte, []int) {
211 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{2}
212 }
213
214 func (x *ListCasesRequest) GetParent() string {
215 if x != nil {
216 return x.Parent
217 }
218 return ""
219 }
220
221 func (x *ListCasesRequest) GetFilter() string {
222 if x != nil {
223 return x.Filter
224 }
225 return ""
226 }
227
228 func (x *ListCasesRequest) GetPageSize() int32 {
229 if x != nil {
230 return x.PageSize
231 }
232 return 0
233 }
234
235 func (x *ListCasesRequest) GetPageToken() string {
236 if x != nil {
237 return x.PageToken
238 }
239 return ""
240 }
241
242 func (x *ListCasesRequest) GetProductLine() ProductLine {
243 if x != nil && x.ProductLine != nil {
244 return *x.ProductLine
245 }
246 return ProductLine_PRODUCT_LINE_UNSPECIFIED
247 }
248
249 // The response message for the ListCases endpoint.
250 type ListCasesResponse struct {
251 state protoimpl.MessageState
252 sizeCache protoimpl.SizeCache
253 unknownFields protoimpl.UnknownFields
254
255 // The list of cases associated with the parent after any
256 // filters have been applied.
257 Cases []*Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
258 // A token to retrieve the next page of results. Set this in the `page_token`
259 // field of subsequent `cases.list` requests. If unspecified, there are no
260 // more results to retrieve.
261 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
262 }
263
264 func (x *ListCasesResponse) Reset() {
265 *x = ListCasesResponse{}
266 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[3]
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 ms.StoreMessageInfo(mi)
269 }
270
271 func (x *ListCasesResponse) String() string {
272 return protoimpl.X.MessageStringOf(x)
273 }
274
275 func (*ListCasesResponse) ProtoMessage() {}
276
277 func (x *ListCasesResponse) ProtoReflect() protoreflect.Message {
278 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[3]
279 if x != nil {
280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
281 if ms.LoadMessageInfo() == nil {
282 ms.StoreMessageInfo(mi)
283 }
284 return ms
285 }
286 return mi.MessageOf(x)
287 }
288
289 // Deprecated: Use ListCasesResponse.ProtoReflect.Descriptor instead.
290 func (*ListCasesResponse) Descriptor() ([]byte, []int) {
291 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{3}
292 }
293
294 func (x *ListCasesResponse) GetCases() []*Case {
295 if x != nil {
296 return x.Cases
297 }
298 return nil
299 }
300
301 func (x *ListCasesResponse) GetNextPageToken() string {
302 if x != nil {
303 return x.NextPageToken
304 }
305 return ""
306 }
307
308 // The request message for the SearchCases endpoint.
309 type SearchCasesRequest struct {
310 state protoimpl.MessageState
311 sizeCache protoimpl.SizeCache
312 unknownFields protoimpl.UnknownFields
313
314 // The name of the parent resource to search for cases under.
315 Parent string `protobuf:"bytes,4,opt,name=parent,proto3" json:"parent,omitempty"`
316 // An expression used to filter cases.
317 //
318 // Expressions use the following fields separated by `AND` and specified with
319 // `=`:
320 //
321 // - `organization`: An organization name in the form
322 // `organizations/<organization_id>`.
323 // - `project`: A project name in the form `projects/<project_id>`.
324 // - `state`: Can be `OPEN` or `CLOSED`.
325 // - `priority`: Can be `P0`, `P1`, `P2`, `P3`, or `P4`. You
326 // can specify multiple values for priority using the `OR` operator. For
327 // example, `priority=P1 OR priority=P2`.
328 // - `creator.email`: The email address of the case creator.
329 //
330 // You must specify either `organization` or `project`.
331 //
332 // To search across `displayName`, `description`, and comments, use a global
333 // restriction with no keyword or operator. For example, `"my search"`.
334 //
335 // To search only cases updated after a certain date, use `update_time`
336 // restricted with that particular date, time, and timezone in ISO datetime
337 // format. For example, `update_time>"2020-01-01T00:00:00-05:00"`.
338 // `update_time` only supports the greater than operator (`>`).
339 //
340 // Examples:
341 //
342 // - `organization="organizations/123456789"`
343 // - `project="projects/my-project-id"`
344 // - `project="projects/123456789"`
345 // - `organization="organizations/123456789" AND state=CLOSED`
346 // - `project="projects/my-project-id" AND creator.email="[email protected]"`
347 // - `project="projects/my-project-id" AND (priority=P0 OR priority=P1)`
348 Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
349 // The maximum number of cases fetched with each request. The default page
350 // size is 10.
351 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
352 // A token identifying the page of results to return. If unspecified, the
353 // first page is retrieved.
354 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
355 }
356
357 func (x *SearchCasesRequest) Reset() {
358 *x = SearchCasesRequest{}
359 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[4]
360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
361 ms.StoreMessageInfo(mi)
362 }
363
364 func (x *SearchCasesRequest) String() string {
365 return protoimpl.X.MessageStringOf(x)
366 }
367
368 func (*SearchCasesRequest) ProtoMessage() {}
369
370 func (x *SearchCasesRequest) ProtoReflect() protoreflect.Message {
371 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[4]
372 if x != nil {
373 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
374 if ms.LoadMessageInfo() == nil {
375 ms.StoreMessageInfo(mi)
376 }
377 return ms
378 }
379 return mi.MessageOf(x)
380 }
381
382 // Deprecated: Use SearchCasesRequest.ProtoReflect.Descriptor instead.
383 func (*SearchCasesRequest) Descriptor() ([]byte, []int) {
384 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{4}
385 }
386
387 func (x *SearchCasesRequest) GetParent() string {
388 if x != nil {
389 return x.Parent
390 }
391 return ""
392 }
393
394 func (x *SearchCasesRequest) GetQuery() string {
395 if x != nil {
396 return x.Query
397 }
398 return ""
399 }
400
401 func (x *SearchCasesRequest) GetPageSize() int32 {
402 if x != nil {
403 return x.PageSize
404 }
405 return 0
406 }
407
408 func (x *SearchCasesRequest) GetPageToken() string {
409 if x != nil {
410 return x.PageToken
411 }
412 return ""
413 }
414
415 // The response message for the SearchCases endpoint.
416 type SearchCasesResponse struct {
417 state protoimpl.MessageState
418 sizeCache protoimpl.SizeCache
419 unknownFields protoimpl.UnknownFields
420
421 // The list of cases associated with the parent after any
422 // filters have been applied.
423 Cases []*Case `protobuf:"bytes,1,rep,name=cases,proto3" json:"cases,omitempty"`
424 // A token to retrieve the next page of results. Set this in the
425 // `page_token` field of subsequent `cases.search` requests. If unspecified,
426 // there are no more results to retrieve.
427 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
428 }
429
430 func (x *SearchCasesResponse) Reset() {
431 *x = SearchCasesResponse{}
432 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[5]
433 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
434 ms.StoreMessageInfo(mi)
435 }
436
437 func (x *SearchCasesResponse) String() string {
438 return protoimpl.X.MessageStringOf(x)
439 }
440
441 func (*SearchCasesResponse) ProtoMessage() {}
442
443 func (x *SearchCasesResponse) ProtoReflect() protoreflect.Message {
444 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[5]
445 if x != nil {
446 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
447 if ms.LoadMessageInfo() == nil {
448 ms.StoreMessageInfo(mi)
449 }
450 return ms
451 }
452 return mi.MessageOf(x)
453 }
454
455 // Deprecated: Use SearchCasesResponse.ProtoReflect.Descriptor instead.
456 func (*SearchCasesResponse) Descriptor() ([]byte, []int) {
457 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{5}
458 }
459
460 func (x *SearchCasesResponse) GetCases() []*Case {
461 if x != nil {
462 return x.Cases
463 }
464 return nil
465 }
466
467 func (x *SearchCasesResponse) GetNextPageToken() string {
468 if x != nil {
469 return x.NextPageToken
470 }
471 return ""
472 }
473
474 // The request message for the EscalateCase endpoint.
475 type EscalateCaseRequest struct {
476 state protoimpl.MessageState
477 sizeCache protoimpl.SizeCache
478 unknownFields protoimpl.UnknownFields
479
480 // Required. The name of the case to be escalated.
481 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
482 // The escalation information to be sent with the escalation request.
483 Escalation *Escalation `protobuf:"bytes,2,opt,name=escalation,proto3" json:"escalation,omitempty"`
484 }
485
486 func (x *EscalateCaseRequest) Reset() {
487 *x = EscalateCaseRequest{}
488 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[6]
489 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
490 ms.StoreMessageInfo(mi)
491 }
492
493 func (x *EscalateCaseRequest) String() string {
494 return protoimpl.X.MessageStringOf(x)
495 }
496
497 func (*EscalateCaseRequest) ProtoMessage() {}
498
499 func (x *EscalateCaseRequest) ProtoReflect() protoreflect.Message {
500 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[6]
501 if x != nil {
502 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
503 if ms.LoadMessageInfo() == nil {
504 ms.StoreMessageInfo(mi)
505 }
506 return ms
507 }
508 return mi.MessageOf(x)
509 }
510
511 // Deprecated: Use EscalateCaseRequest.ProtoReflect.Descriptor instead.
512 func (*EscalateCaseRequest) Descriptor() ([]byte, []int) {
513 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{6}
514 }
515
516 func (x *EscalateCaseRequest) GetName() string {
517 if x != nil {
518 return x.Name
519 }
520 return ""
521 }
522
523 func (x *EscalateCaseRequest) GetEscalation() *Escalation {
524 if x != nil {
525 return x.Escalation
526 }
527 return nil
528 }
529
530 // The request message for the UpdateCase endpoint
531 type UpdateCaseRequest struct {
532 state protoimpl.MessageState
533 sizeCache protoimpl.SizeCache
534 unknownFields protoimpl.UnknownFields
535
536 // Required. The case to update.
537 Case *Case `protobuf:"bytes,1,opt,name=case,proto3" json:"case,omitempty"`
538 // A list of attributes of the case that should be updated. Supported values
539 // are `priority`, `display_name`, and `subscriber_email_addresses`. If no
540 // fields are specified, all supported fields are updated.
541 //
542 // Be careful - if you do not provide a field mask, then you might
543 // accidentally clear some fields. For example, if you leave the field mask
544 // empty and do not provide a value for `subscriber_email_addresses`, then
545 // `subscriber_email_addresses` is updated to empty.
546 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
547 }
548
549 func (x *UpdateCaseRequest) Reset() {
550 *x = UpdateCaseRequest{}
551 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[7]
552 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
553 ms.StoreMessageInfo(mi)
554 }
555
556 func (x *UpdateCaseRequest) String() string {
557 return protoimpl.X.MessageStringOf(x)
558 }
559
560 func (*UpdateCaseRequest) ProtoMessage() {}
561
562 func (x *UpdateCaseRequest) ProtoReflect() protoreflect.Message {
563 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[7]
564 if x != nil {
565 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
566 if ms.LoadMessageInfo() == nil {
567 ms.StoreMessageInfo(mi)
568 }
569 return ms
570 }
571 return mi.MessageOf(x)
572 }
573
574 // Deprecated: Use UpdateCaseRequest.ProtoReflect.Descriptor instead.
575 func (*UpdateCaseRequest) Descriptor() ([]byte, []int) {
576 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{7}
577 }
578
579 func (x *UpdateCaseRequest) GetCase() *Case {
580 if x != nil {
581 return x.Case
582 }
583 return nil
584 }
585
586 func (x *UpdateCaseRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
587 if x != nil {
588 return x.UpdateMask
589 }
590 return nil
591 }
592
593 // The request message for the CloseCase endpoint.
594 type CloseCaseRequest struct {
595 state protoimpl.MessageState
596 sizeCache protoimpl.SizeCache
597 unknownFields protoimpl.UnknownFields
598
599 // Required. The name of the case to close.
600 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
601 }
602
603 func (x *CloseCaseRequest) Reset() {
604 *x = CloseCaseRequest{}
605 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[8]
606 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
607 ms.StoreMessageInfo(mi)
608 }
609
610 func (x *CloseCaseRequest) String() string {
611 return protoimpl.X.MessageStringOf(x)
612 }
613
614 func (*CloseCaseRequest) ProtoMessage() {}
615
616 func (x *CloseCaseRequest) ProtoReflect() protoreflect.Message {
617 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[8]
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 CloseCaseRequest.ProtoReflect.Descriptor instead.
629 func (*CloseCaseRequest) Descriptor() ([]byte, []int) {
630 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{8}
631 }
632
633 func (x *CloseCaseRequest) GetName() string {
634 if x != nil {
635 return x.Name
636 }
637 return ""
638 }
639
640 // The request message for the SearchCaseClassifications endpoint.
641 type SearchCaseClassificationsRequest struct {
642 state protoimpl.MessageState
643 sizeCache protoimpl.SizeCache
644 unknownFields protoimpl.UnknownFields
645
646 // An expression used to filter case classifications.
647 //
648 // If it's an empty string, then no filtering happens. Otherwise, case
649 // classifications will be returned that match the filter.
650 Query string `protobuf:"bytes,1,opt,name=query,proto3" json:"query,omitempty"`
651 // The maximum number of classifications fetched with each request.
652 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
653 // A token identifying the page of results to return. If unspecified, the
654 // first page is retrieved.
655 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
656 // Optional. The product to return case classifications for.
657 Product *Product `protobuf:"bytes,7,opt,name=product,proto3" json:"product,omitempty"`
658 }
659
660 func (x *SearchCaseClassificationsRequest) Reset() {
661 *x = SearchCaseClassificationsRequest{}
662 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[9]
663 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
664 ms.StoreMessageInfo(mi)
665 }
666
667 func (x *SearchCaseClassificationsRequest) String() string {
668 return protoimpl.X.MessageStringOf(x)
669 }
670
671 func (*SearchCaseClassificationsRequest) ProtoMessage() {}
672
673 func (x *SearchCaseClassificationsRequest) ProtoReflect() protoreflect.Message {
674 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[9]
675 if x != nil {
676 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
677 if ms.LoadMessageInfo() == nil {
678 ms.StoreMessageInfo(mi)
679 }
680 return ms
681 }
682 return mi.MessageOf(x)
683 }
684
685 // Deprecated: Use SearchCaseClassificationsRequest.ProtoReflect.Descriptor instead.
686 func (*SearchCaseClassificationsRequest) Descriptor() ([]byte, []int) {
687 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{9}
688 }
689
690 func (x *SearchCaseClassificationsRequest) GetQuery() string {
691 if x != nil {
692 return x.Query
693 }
694 return ""
695 }
696
697 func (x *SearchCaseClassificationsRequest) GetPageSize() int32 {
698 if x != nil {
699 return x.PageSize
700 }
701 return 0
702 }
703
704 func (x *SearchCaseClassificationsRequest) GetPageToken() string {
705 if x != nil {
706 return x.PageToken
707 }
708 return ""
709 }
710
711 func (x *SearchCaseClassificationsRequest) GetProduct() *Product {
712 if x != nil {
713 return x.Product
714 }
715 return nil
716 }
717
718 // The response message for SearchCaseClassifications endpoint.
719 type SearchCaseClassificationsResponse struct {
720 state protoimpl.MessageState
721 sizeCache protoimpl.SizeCache
722 unknownFields protoimpl.UnknownFields
723
724 // The classifications retrieved.
725 CaseClassifications []*CaseClassification `protobuf:"bytes,1,rep,name=case_classifications,json=caseClassifications,proto3" json:"case_classifications,omitempty"`
726 // A token to retrieve the next page of results. Set this in the `page_token`
727 // field of subsequent `caseClassifications.list` requests. If unspecified,
728 // there are no more results to retrieve.
729 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
730 }
731
732 func (x *SearchCaseClassificationsResponse) Reset() {
733 *x = SearchCaseClassificationsResponse{}
734 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[10]
735 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
736 ms.StoreMessageInfo(mi)
737 }
738
739 func (x *SearchCaseClassificationsResponse) String() string {
740 return protoimpl.X.MessageStringOf(x)
741 }
742
743 func (*SearchCaseClassificationsResponse) ProtoMessage() {}
744
745 func (x *SearchCaseClassificationsResponse) ProtoReflect() protoreflect.Message {
746 mi := &file_google_cloud_support_v2beta_case_service_proto_msgTypes[10]
747 if x != nil {
748 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
749 if ms.LoadMessageInfo() == nil {
750 ms.StoreMessageInfo(mi)
751 }
752 return ms
753 }
754 return mi.MessageOf(x)
755 }
756
757 // Deprecated: Use SearchCaseClassificationsResponse.ProtoReflect.Descriptor instead.
758 func (*SearchCaseClassificationsResponse) Descriptor() ([]byte, []int) {
759 return file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP(), []int{10}
760 }
761
762 func (x *SearchCaseClassificationsResponse) GetCaseClassifications() []*CaseClassification {
763 if x != nil {
764 return x.CaseClassifications
765 }
766 return nil
767 }
768
769 func (x *SearchCaseClassificationsResponse) GetNextPageToken() string {
770 if x != nil {
771 return x.NextPageToken
772 }
773 return ""
774 }
775
776 var File_google_cloud_support_v2beta_case_service_proto protoreflect.FileDescriptor
777
778 var file_google_cloud_support_v2beta_case_service_proto_rawDesc = []byte{
779 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
780 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x61,
781 0x73, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
782 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
783 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x1a, 0x1c, 0x67,
784 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
785 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
786 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70,
787 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
788 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
789 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
790 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
791 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
792 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x61,
793 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
794 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x76,
795 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x65, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
796 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
797 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61,
798 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4e, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x43,
799 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61,
800 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22,
801 0x0a, 0x20, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x67,
802 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
803 0x73, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65,
804 0x61, 0x74, 0x65, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40,
805 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28,
806 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x12, 0x20, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x75, 0x70,
807 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
808 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x73, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
809 0x12, 0x3a, 0x0a, 0x04, 0x63, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21,
810 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75,
811 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x61, 0x73,
812 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x63, 0x61, 0x73, 0x65, 0x22, 0x8b, 0x02, 0x0a,
813 0x10, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
814 0x74, 0x12, 0x40, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
815 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x12, 0x20, 0x63, 0x6c, 0x6f, 0x75, 0x64,
816 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
817 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x73, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72,
818 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20,
819 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70,
820 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08,
821 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65,
822 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61,
823 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x50, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x64, 0x75,
824 0x63, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e,
825 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70,
826 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50, 0x72, 0x6f, 0x64,
827 0x75, 0x63, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x48, 0x00, 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x64, 0x75,
828 0x63, 0x74, 0x4c, 0x69, 0x6e, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x70, 0x72,
829 0x6f, 0x64, 0x75, 0x63, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x74, 0x0a, 0x11, 0x4c, 0x69,
830 0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
831 0x37, 0x0a, 0x05, 0x63, 0x61, 0x73, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
832 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75,
833 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x61, 0x73,
834 0x65, 0x52, 0x05, 0x63, 0x61, 0x73, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74,
835 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28,
836 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
837 0x22, 0x7e, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x73, 0x65, 0x73, 0x52,
838 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
839 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x14,
840 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71,
841 0x75, 0x65, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a,
842 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a,
843 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
844 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
845 0x22, 0x76, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x73, 0x65, 0x73, 0x52,
846 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x05, 0x63, 0x61, 0x73, 0x65, 0x73,
847 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
848 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32,
849 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x61, 0x73, 0x65, 0x52, 0x05, 0x63, 0x61, 0x73, 0x65, 0x73,
850 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
851 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50,
852 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9c, 0x01, 0x0a, 0x13, 0x45, 0x73, 0x63,
853 0x61, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
854 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28,
855 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x75, 0x70,
856 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
857 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61, 0x73, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x47,
858 0x0a, 0x0a, 0x65, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
859 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
860 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
861 0x2e, 0x45, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x73, 0x63,
862 0x61, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61,
863 0x74, 0x65, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a,
864 0x04, 0x63, 0x61, 0x73, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f,
865 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f,
866 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x61, 0x73, 0x65, 0x42, 0x03,
867 0xe0, 0x41, 0x02, 0x52, 0x04, 0x63, 0x61, 0x73, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64,
868 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
869 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
870 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
871 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x50, 0x0a, 0x10, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43,
872 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61,
873 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22,
874 0x0a, 0x20, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x67,
875 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x43, 0x61,
876 0x73, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xb9, 0x01, 0x0a, 0x20, 0x53, 0x65, 0x61,
877 0x72, 0x63, 0x68, 0x43, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63,
878 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x14, 0x0a,
879 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x71, 0x75,
880 0x65, 0x72, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
881 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65,
882 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03,
883 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12,
884 0x43, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b,
885 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
886 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x50,
887 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x07, 0x70, 0x72, 0x6f,
888 0x64, 0x75, 0x63, 0x74, 0x22, 0xaf, 0x01, 0x0a, 0x21, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43,
889 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
890 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x62, 0x0a, 0x14, 0x63, 0x61,
891 0x73, 0x65, 0x5f, 0x63, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f,
892 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
893 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e,
894 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73,
895 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x63, 0x61, 0x73, 0x65, 0x43,
896 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26,
897 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
898 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67,
899 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xcb, 0x0d, 0x0a, 0x0b, 0x43, 0x61, 0x73, 0x65, 0x53,
900 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xb5, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x43, 0x61,
901 0x73, 0x65, 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
902 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
903 0x2e, 0x47, 0x65, 0x74, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
904 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
905 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x61,
906 0x73, 0x65, 0x22, 0x5a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,
907 0x4d, 0x5a, 0x28, 0x12, 0x26, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61,
908 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
909 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x21, 0x2f, 0x76, 0x32,
910 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
911 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xc8,
912 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x73, 0x12, 0x2d, 0x2e, 0x67,
913 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70,
914 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43,
915 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e, 0x67, 0x6f,
916 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f,
917 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x43, 0x61,
918 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5c, 0xda, 0x41, 0x06,
919 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4d, 0x5a, 0x28, 0x12, 0x26,
920 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
921 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d,
922 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x12, 0x21, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f,
923 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
924 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x12, 0xd3, 0x01, 0x0a, 0x0b, 0x53, 0x65,
925 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x73, 0x65, 0x73, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
926 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74,
927 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61,
928 0x73, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e, 0x67, 0x6f, 0x6f,
929 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72,
930 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43,
931 0x61, 0x73, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x61, 0x82, 0xd3,
932 0xe4, 0x93, 0x02, 0x5b, 0x5a, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f,
933 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61,
934 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x73,
935 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x28, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b,
936 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
937 0x2a, 0x7d, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12,
938 0xce, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43, 0x61, 0x73, 0x65, 0x12, 0x2e,
939 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75,
940 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x72, 0x65,
941 0x61, 0x74, 0x65, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
942 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75,
943 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x61, 0x73,
944 0x65, 0x22, 0x6d, 0xda, 0x41, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x63, 0x61, 0x73,
945 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x59, 0x3a, 0x04, 0x63, 0x61, 0x73, 0x65, 0x5a, 0x2e, 0x3a,
946 0x04, 0x63, 0x61, 0x73, 0x65, 0x22, 0x26, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b,
947 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
948 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x22, 0x21, 0x2f,
949 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
950 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73,
951 0x12, 0xdd, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x73, 0x65, 0x12,
952 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
953 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x55, 0x70,
954 0x64, 0x61, 0x74, 0x65, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
955 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
956 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x61,
957 0x73, 0x65, 0x22, 0x7c, 0xda, 0x41, 0x10, 0x63, 0x61, 0x73, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61,
958 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x63, 0x3a, 0x04, 0x63,
959 0x61, 0x73, 0x65, 0x5a, 0x33, 0x3a, 0x04, 0x63, 0x61, 0x73, 0x65, 0x32, 0x2b, 0x2f, 0x76, 0x32,
960 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x63, 0x61, 0x73, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
961 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
962 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x32, 0x26, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74,
963 0x61, 0x2f, 0x7b, 0x63, 0x61, 0x73, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
964 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d,
965 0x12, 0xd0, 0x01, 0x0a, 0x0c, 0x45, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x61, 0x73,
966 0x65, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
967 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e,
968 0x45, 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x65, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75,
969 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
970 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
971 0x61, 0x2e, 0x43, 0x61, 0x73, 0x65, 0x22, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x65, 0x3a, 0x01,
972 0x2a, 0x5a, 0x34, 0x3a, 0x01, 0x2a, 0x22, 0x2f, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f,
973 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
974 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65,
975 0x73, 0x63, 0x61, 0x6c, 0x61, 0x74, 0x65, 0x22, 0x2a, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
976 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
977 0x2a, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x65, 0x73, 0x63, 0x61, 0x6c,
978 0x61, 0x74, 0x65, 0x12, 0xc4, 0x01, 0x0a, 0x09, 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x61, 0x73,
979 0x65, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
980 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e,
981 0x43, 0x6c, 0x6f, 0x73, 0x65, 0x43, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
982 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
983 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x43,
984 0x61, 0x73, 0x65, 0x22, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x5f, 0x3a, 0x01, 0x2a, 0x5a, 0x31,
985 0x3a, 0x01, 0x2a, 0x22, 0x2c, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61,
986 0x6d, 0x65, 0x3d, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
987 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6c, 0x6f, 0x73,
988 0x65, 0x22, 0x27, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
989 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x63, 0x61, 0x73, 0x65,
990 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x6c, 0x6f, 0x73, 0x65, 0x12, 0xc6, 0x01, 0x0a, 0x19, 0x53,
991 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66,
992 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
993 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e,
994 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x73,
995 0x65, 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
996 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
997 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x76,
998 0x32, 0x62, 0x65, 0x74, 0x61, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x43, 0x61, 0x73, 0x65,
999 0x43, 0x6c, 0x61, 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
1000 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12,
1001 0x22, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x2f, 0x63, 0x61, 0x73, 0x65, 0x43, 0x6c, 0x61,
1002 0x73, 0x73, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x3a, 0x73, 0x65, 0x61,
1003 0x72, 0x63, 0x68, 0x1a, 0x4f, 0xca, 0x41, 0x1b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x75, 0x70,
1004 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e,
1005 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77,
1006 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
1007 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74,
1008 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xcd, 0x01, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
1009 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72,
1010 0x74, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x42, 0x10, 0x43, 0x61, 0x73, 0x65, 0x53, 0x65,
1011 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x39, 0x63, 0x6c,
1012 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
1013 0x6f, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x62,
1014 0x65, 0x74, 0x61, 0x2f, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x70, 0x62, 0x3b, 0x73, 0x75,
1015 0x70, 0x70, 0x6f, 0x72, 0x74, 0x70, 0x62, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1016 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x56,
1017 0x32, 0x42, 0x65, 0x74, 0x61, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43,
1018 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x5c, 0x56, 0x32, 0x62,
1019 0x65, 0x74, 0x61, 0xea, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c,
1020 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x53, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x3a, 0x56, 0x32,
1021 0x62, 0x65, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1022 }
1023
1024 var (
1025 file_google_cloud_support_v2beta_case_service_proto_rawDescOnce sync.Once
1026 file_google_cloud_support_v2beta_case_service_proto_rawDescData = file_google_cloud_support_v2beta_case_service_proto_rawDesc
1027 )
1028
1029 func file_google_cloud_support_v2beta_case_service_proto_rawDescGZIP() []byte {
1030 file_google_cloud_support_v2beta_case_service_proto_rawDescOnce.Do(func() {
1031 file_google_cloud_support_v2beta_case_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_support_v2beta_case_service_proto_rawDescData)
1032 })
1033 return file_google_cloud_support_v2beta_case_service_proto_rawDescData
1034 }
1035
1036 var file_google_cloud_support_v2beta_case_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
1037 var file_google_cloud_support_v2beta_case_service_proto_goTypes = []any{
1038 (*GetCaseRequest)(nil), // 0: google.cloud.support.v2beta.GetCaseRequest
1039 (*CreateCaseRequest)(nil), // 1: google.cloud.support.v2beta.CreateCaseRequest
1040 (*ListCasesRequest)(nil), // 2: google.cloud.support.v2beta.ListCasesRequest
1041 (*ListCasesResponse)(nil), // 3: google.cloud.support.v2beta.ListCasesResponse
1042 (*SearchCasesRequest)(nil), // 4: google.cloud.support.v2beta.SearchCasesRequest
1043 (*SearchCasesResponse)(nil), // 5: google.cloud.support.v2beta.SearchCasesResponse
1044 (*EscalateCaseRequest)(nil), // 6: google.cloud.support.v2beta.EscalateCaseRequest
1045 (*UpdateCaseRequest)(nil), // 7: google.cloud.support.v2beta.UpdateCaseRequest
1046 (*CloseCaseRequest)(nil), // 8: google.cloud.support.v2beta.CloseCaseRequest
1047 (*SearchCaseClassificationsRequest)(nil), // 9: google.cloud.support.v2beta.SearchCaseClassificationsRequest
1048 (*SearchCaseClassificationsResponse)(nil), // 10: google.cloud.support.v2beta.SearchCaseClassificationsResponse
1049 (*Case)(nil), // 11: google.cloud.support.v2beta.Case
1050 (ProductLine)(0), // 12: google.cloud.support.v2beta.ProductLine
1051 (*Escalation)(nil), // 13: google.cloud.support.v2beta.Escalation
1052 (*fieldmaskpb.FieldMask)(nil), // 14: google.protobuf.FieldMask
1053 (*Product)(nil), // 15: google.cloud.support.v2beta.Product
1054 (*CaseClassification)(nil), // 16: google.cloud.support.v2beta.CaseClassification
1055 }
1056 var file_google_cloud_support_v2beta_case_service_proto_depIdxs = []int32{
1057 11, // 0: google.cloud.support.v2beta.CreateCaseRequest.case:type_name -> google.cloud.support.v2beta.Case
1058 12, // 1: google.cloud.support.v2beta.ListCasesRequest.product_line:type_name -> google.cloud.support.v2beta.ProductLine
1059 11, // 2: google.cloud.support.v2beta.ListCasesResponse.cases:type_name -> google.cloud.support.v2beta.Case
1060 11, // 3: google.cloud.support.v2beta.SearchCasesResponse.cases:type_name -> google.cloud.support.v2beta.Case
1061 13, // 4: google.cloud.support.v2beta.EscalateCaseRequest.escalation:type_name -> google.cloud.support.v2beta.Escalation
1062 11, // 5: google.cloud.support.v2beta.UpdateCaseRequest.case:type_name -> google.cloud.support.v2beta.Case
1063 14, // 6: google.cloud.support.v2beta.UpdateCaseRequest.update_mask:type_name -> google.protobuf.FieldMask
1064 15, // 7: google.cloud.support.v2beta.SearchCaseClassificationsRequest.product:type_name -> google.cloud.support.v2beta.Product
1065 16, // 8: google.cloud.support.v2beta.SearchCaseClassificationsResponse.case_classifications:type_name -> google.cloud.support.v2beta.CaseClassification
1066 0, // 9: google.cloud.support.v2beta.CaseService.GetCase:input_type -> google.cloud.support.v2beta.GetCaseRequest
1067 2, // 10: google.cloud.support.v2beta.CaseService.ListCases:input_type -> google.cloud.support.v2beta.ListCasesRequest
1068 4, // 11: google.cloud.support.v2beta.CaseService.SearchCases:input_type -> google.cloud.support.v2beta.SearchCasesRequest
1069 1, // 12: google.cloud.support.v2beta.CaseService.CreateCase:input_type -> google.cloud.support.v2beta.CreateCaseRequest
1070 7, // 13: google.cloud.support.v2beta.CaseService.UpdateCase:input_type -> google.cloud.support.v2beta.UpdateCaseRequest
1071 6, // 14: google.cloud.support.v2beta.CaseService.EscalateCase:input_type -> google.cloud.support.v2beta.EscalateCaseRequest
1072 8, // 15: google.cloud.support.v2beta.CaseService.CloseCase:input_type -> google.cloud.support.v2beta.CloseCaseRequest
1073 9, // 16: google.cloud.support.v2beta.CaseService.SearchCaseClassifications:input_type -> google.cloud.support.v2beta.SearchCaseClassificationsRequest
1074 11, // 17: google.cloud.support.v2beta.CaseService.GetCase:output_type -> google.cloud.support.v2beta.Case
1075 3, // 18: google.cloud.support.v2beta.CaseService.ListCases:output_type -> google.cloud.support.v2beta.ListCasesResponse
1076 5, // 19: google.cloud.support.v2beta.CaseService.SearchCases:output_type -> google.cloud.support.v2beta.SearchCasesResponse
1077 11, // 20: google.cloud.support.v2beta.CaseService.CreateCase:output_type -> google.cloud.support.v2beta.Case
1078 11, // 21: google.cloud.support.v2beta.CaseService.UpdateCase:output_type -> google.cloud.support.v2beta.Case
1079 11, // 22: google.cloud.support.v2beta.CaseService.EscalateCase:output_type -> google.cloud.support.v2beta.Case
1080 11, // 23: google.cloud.support.v2beta.CaseService.CloseCase:output_type -> google.cloud.support.v2beta.Case
1081 10, // 24: google.cloud.support.v2beta.CaseService.SearchCaseClassifications:output_type -> google.cloud.support.v2beta.SearchCaseClassificationsResponse
1082 17, // [17:25] is the sub-list for method output_type
1083 9, // [9:17] is the sub-list for method input_type
1084 9, // [9:9] is the sub-list for extension type_name
1085 9, // [9:9] is the sub-list for extension extendee
1086 0, // [0:9] is the sub-list for field type_name
1087 }
1088
1089 func init() { file_google_cloud_support_v2beta_case_service_proto_init() }
1090 func file_google_cloud_support_v2beta_case_service_proto_init() {
1091 if File_google_cloud_support_v2beta_case_service_proto != nil {
1092 return
1093 }
1094 file_google_cloud_support_v2beta_case_proto_init()
1095 file_google_cloud_support_v2beta_escalation_proto_init()
1096 file_google_cloud_support_v2beta_case_service_proto_msgTypes[2].OneofWrappers = []any{}
1097 type x struct{}
1098 out := protoimpl.TypeBuilder{
1099 File: protoimpl.DescBuilder{
1100 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1101 RawDescriptor: file_google_cloud_support_v2beta_case_service_proto_rawDesc,
1102 NumEnums: 0,
1103 NumMessages: 11,
1104 NumExtensions: 0,
1105 NumServices: 1,
1106 },
1107 GoTypes: file_google_cloud_support_v2beta_case_service_proto_goTypes,
1108 DependencyIndexes: file_google_cloud_support_v2beta_case_service_proto_depIdxs,
1109 MessageInfos: file_google_cloud_support_v2beta_case_service_proto_msgTypes,
1110 }.Build()
1111 File_google_cloud_support_v2beta_case_service_proto = out.File
1112 file_google_cloud_support_v2beta_case_service_proto_rawDesc = nil
1113 file_google_cloud_support_v2beta_case_service_proto_goTypes = nil
1114 file_google_cloud_support_v2beta_case_service_proto_depIdxs = nil
1115 }
1116
1117 // Reference imports to suppress errors if they are not otherwise used.
1118 var _ context.Context
1119 var _ grpc.ClientConnInterface
1120
1121 // This is a compile-time assertion to ensure that this generated file
1122 // is compatible with the grpc package it is being compiled against.
1123 const _ = grpc.SupportPackageIsVersion6
1124
1125 // CaseServiceClient is the client API for CaseService service.
1126 //
1127 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1128 type CaseServiceClient interface {
1129 // Retrieve a case.
1130 GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*Case, error)
1131 // Retrieve all cases under a parent, but not its children.
1132 //
1133 // For example, listing cases under an organization only returns the cases
1134 // that are directly parented by that organization. To retrieve cases
1135 // under an organization and its projects, use `cases.search`.
1136 ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error)
1137 // Search for cases using a query.
1138 SearchCases(ctx context.Context, in *SearchCasesRequest, opts ...grpc.CallOption) (*SearchCasesResponse, error)
1139 // Create a new case and associate it with a parent.
1140 //
1141 // It must have the following fields set: `display_name`, `description`,
1142 // `classification`, and `priority`. If you're just testing the API and don't
1143 // want to route your case to an agent, set `testCase=true`.
1144 CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*Case, error)
1145 // Update a case. Only some fields can be updated.
1146 UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*Case, error)
1147 // Escalate a case, starting the Google Cloud Support escalation management
1148 // process.
1149 //
1150 // This operation is only available for some support services. Go to
1151 // https://cloud.google.com/support and look for 'Technical support
1152 // escalations' in the feature list to find out which ones let you
1153 // do that.
1154 EscalateCase(ctx context.Context, in *EscalateCaseRequest, opts ...grpc.CallOption) (*Case, error)
1155 // Close a case.
1156 CloseCase(ctx context.Context, in *CloseCaseRequest, opts ...grpc.CallOption) (*Case, error)
1157 // Retrieve valid classifications to use when creating a support case.
1158 //
1159 // Classifications are hierarchical. Each classification is a string
1160 // containing all levels of the hierarchy separated by `" > "`. For example,
1161 // `"Technical Issue > Compute > Compute Engine"`.
1162 //
1163 // Classification IDs returned by this endpoint are valid for at least six
1164 // months. When a classification is deactivated, this endpoint immediately
1165 // stops returning it. After six months, `case.create` requests using the
1166 // classification will fail.
1167 SearchCaseClassifications(ctx context.Context, in *SearchCaseClassificationsRequest, opts ...grpc.CallOption) (*SearchCaseClassificationsResponse, error)
1168 }
1169
1170 type caseServiceClient struct {
1171 cc grpc.ClientConnInterface
1172 }
1173
1174 func NewCaseServiceClient(cc grpc.ClientConnInterface) CaseServiceClient {
1175 return &caseServiceClient{cc}
1176 }
1177
1178 func (c *caseServiceClient) GetCase(ctx context.Context, in *GetCaseRequest, opts ...grpc.CallOption) (*Case, error) {
1179 out := new(Case)
1180 err := c.cc.Invoke(ctx, "/google.cloud.support.v2beta.CaseService/GetCase", in, out, opts...)
1181 if err != nil {
1182 return nil, err
1183 }
1184 return out, nil
1185 }
1186
1187 func (c *caseServiceClient) ListCases(ctx context.Context, in *ListCasesRequest, opts ...grpc.CallOption) (*ListCasesResponse, error) {
1188 out := new(ListCasesResponse)
1189 err := c.cc.Invoke(ctx, "/google.cloud.support.v2beta.CaseService/ListCases", in, out, opts...)
1190 if err != nil {
1191 return nil, err
1192 }
1193 return out, nil
1194 }
1195
1196 func (c *caseServiceClient) SearchCases(ctx context.Context, in *SearchCasesRequest, opts ...grpc.CallOption) (*SearchCasesResponse, error) {
1197 out := new(SearchCasesResponse)
1198 err := c.cc.Invoke(ctx, "/google.cloud.support.v2beta.CaseService/SearchCases", in, out, opts...)
1199 if err != nil {
1200 return nil, err
1201 }
1202 return out, nil
1203 }
1204
1205 func (c *caseServiceClient) CreateCase(ctx context.Context, in *CreateCaseRequest, opts ...grpc.CallOption) (*Case, error) {
1206 out := new(Case)
1207 err := c.cc.Invoke(ctx, "/google.cloud.support.v2beta.CaseService/CreateCase", in, out, opts...)
1208 if err != nil {
1209 return nil, err
1210 }
1211 return out, nil
1212 }
1213
1214 func (c *caseServiceClient) UpdateCase(ctx context.Context, in *UpdateCaseRequest, opts ...grpc.CallOption) (*Case, error) {
1215 out := new(Case)
1216 err := c.cc.Invoke(ctx, "/google.cloud.support.v2beta.CaseService/UpdateCase", in, out, opts...)
1217 if err != nil {
1218 return nil, err
1219 }
1220 return out, nil
1221 }
1222
1223 func (c *caseServiceClient) EscalateCase(ctx context.Context, in *EscalateCaseRequest, opts ...grpc.CallOption) (*Case, error) {
1224 out := new(Case)
1225 err := c.cc.Invoke(ctx, "/google.cloud.support.v2beta.CaseService/EscalateCase", in, out, opts...)
1226 if err != nil {
1227 return nil, err
1228 }
1229 return out, nil
1230 }
1231
1232 func (c *caseServiceClient) CloseCase(ctx context.Context, in *CloseCaseRequest, opts ...grpc.CallOption) (*Case, error) {
1233 out := new(Case)
1234 err := c.cc.Invoke(ctx, "/google.cloud.support.v2beta.CaseService/CloseCase", in, out, opts...)
1235 if err != nil {
1236 return nil, err
1237 }
1238 return out, nil
1239 }
1240
1241 func (c *caseServiceClient) SearchCaseClassifications(ctx context.Context, in *SearchCaseClassificationsRequest, opts ...grpc.CallOption) (*SearchCaseClassificationsResponse, error) {
1242 out := new(SearchCaseClassificationsResponse)
1243 err := c.cc.Invoke(ctx, "/google.cloud.support.v2beta.CaseService/SearchCaseClassifications", in, out, opts...)
1244 if err != nil {
1245 return nil, err
1246 }
1247 return out, nil
1248 }
1249
1250 // CaseServiceServer is the server API for CaseService service.
1251 type CaseServiceServer interface {
1252 // Retrieve a case.
1253 GetCase(context.Context, *GetCaseRequest) (*Case, error)
1254 // Retrieve all cases under a parent, but not its children.
1255 //
1256 // For example, listing cases under an organization only returns the cases
1257 // that are directly parented by that organization. To retrieve cases
1258 // under an organization and its projects, use `cases.search`.
1259 ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error)
1260 // Search for cases using a query.
1261 SearchCases(context.Context, *SearchCasesRequest) (*SearchCasesResponse, error)
1262 // Create a new case and associate it with a parent.
1263 //
1264 // It must have the following fields set: `display_name`, `description`,
1265 // `classification`, and `priority`. If you're just testing the API and don't
1266 // want to route your case to an agent, set `testCase=true`.
1267 CreateCase(context.Context, *CreateCaseRequest) (*Case, error)
1268 // Update a case. Only some fields can be updated.
1269 UpdateCase(context.Context, *UpdateCaseRequest) (*Case, error)
1270 // Escalate a case, starting the Google Cloud Support escalation management
1271 // process.
1272 //
1273 // This operation is only available for some support services. Go to
1274 // https://cloud.google.com/support and look for 'Technical support
1275 // escalations' in the feature list to find out which ones let you
1276 // do that.
1277 EscalateCase(context.Context, *EscalateCaseRequest) (*Case, error)
1278 // Close a case.
1279 CloseCase(context.Context, *CloseCaseRequest) (*Case, error)
1280 // Retrieve valid classifications to use when creating a support case.
1281 //
1282 // Classifications are hierarchical. Each classification is a string
1283 // containing all levels of the hierarchy separated by `" > "`. For example,
1284 // `"Technical Issue > Compute > Compute Engine"`.
1285 //
1286 // Classification IDs returned by this endpoint are valid for at least six
1287 // months. When a classification is deactivated, this endpoint immediately
1288 // stops returning it. After six months, `case.create` requests using the
1289 // classification will fail.
1290 SearchCaseClassifications(context.Context, *SearchCaseClassificationsRequest) (*SearchCaseClassificationsResponse, error)
1291 }
1292
1293 // UnimplementedCaseServiceServer can be embedded to have forward compatible implementations.
1294 type UnimplementedCaseServiceServer struct {
1295 }
1296
1297 func (*UnimplementedCaseServiceServer) GetCase(context.Context, *GetCaseRequest) (*Case, error) {
1298 return nil, status.Errorf(codes.Unimplemented, "method GetCase not implemented")
1299 }
1300 func (*UnimplementedCaseServiceServer) ListCases(context.Context, *ListCasesRequest) (*ListCasesResponse, error) {
1301 return nil, status.Errorf(codes.Unimplemented, "method ListCases not implemented")
1302 }
1303 func (*UnimplementedCaseServiceServer) SearchCases(context.Context, *SearchCasesRequest) (*SearchCasesResponse, error) {
1304 return nil, status.Errorf(codes.Unimplemented, "method SearchCases not implemented")
1305 }
1306 func (*UnimplementedCaseServiceServer) CreateCase(context.Context, *CreateCaseRequest) (*Case, error) {
1307 return nil, status.Errorf(codes.Unimplemented, "method CreateCase not implemented")
1308 }
1309 func (*UnimplementedCaseServiceServer) UpdateCase(context.Context, *UpdateCaseRequest) (*Case, error) {
1310 return nil, status.Errorf(codes.Unimplemented, "method UpdateCase not implemented")
1311 }
1312 func (*UnimplementedCaseServiceServer) EscalateCase(context.Context, *EscalateCaseRequest) (*Case, error) {
1313 return nil, status.Errorf(codes.Unimplemented, "method EscalateCase not implemented")
1314 }
1315 func (*UnimplementedCaseServiceServer) CloseCase(context.Context, *CloseCaseRequest) (*Case, error) {
1316 return nil, status.Errorf(codes.Unimplemented, "method CloseCase not implemented")
1317 }
1318 func (*UnimplementedCaseServiceServer) SearchCaseClassifications(context.Context, *SearchCaseClassificationsRequest) (*SearchCaseClassificationsResponse, error) {
1319 return nil, status.Errorf(codes.Unimplemented, "method SearchCaseClassifications not implemented")
1320 }
1321
1322 func RegisterCaseServiceServer(s *grpc.Server, srv CaseServiceServer) {
1323 s.RegisterService(&_CaseService_serviceDesc, srv)
1324 }
1325
1326 func _CaseService_GetCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1327 in := new(GetCaseRequest)
1328 if err := dec(in); err != nil {
1329 return nil, err
1330 }
1331 if interceptor == nil {
1332 return srv.(CaseServiceServer).GetCase(ctx, in)
1333 }
1334 info := &grpc.UnaryServerInfo{
1335 Server: srv,
1336 FullMethod: "/google.cloud.support.v2beta.CaseService/GetCase",
1337 }
1338 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1339 return srv.(CaseServiceServer).GetCase(ctx, req.(*GetCaseRequest))
1340 }
1341 return interceptor(ctx, in, info, handler)
1342 }
1343
1344 func _CaseService_ListCases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1345 in := new(ListCasesRequest)
1346 if err := dec(in); err != nil {
1347 return nil, err
1348 }
1349 if interceptor == nil {
1350 return srv.(CaseServiceServer).ListCases(ctx, in)
1351 }
1352 info := &grpc.UnaryServerInfo{
1353 Server: srv,
1354 FullMethod: "/google.cloud.support.v2beta.CaseService/ListCases",
1355 }
1356 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1357 return srv.(CaseServiceServer).ListCases(ctx, req.(*ListCasesRequest))
1358 }
1359 return interceptor(ctx, in, info, handler)
1360 }
1361
1362 func _CaseService_SearchCases_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1363 in := new(SearchCasesRequest)
1364 if err := dec(in); err != nil {
1365 return nil, err
1366 }
1367 if interceptor == nil {
1368 return srv.(CaseServiceServer).SearchCases(ctx, in)
1369 }
1370 info := &grpc.UnaryServerInfo{
1371 Server: srv,
1372 FullMethod: "/google.cloud.support.v2beta.CaseService/SearchCases",
1373 }
1374 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1375 return srv.(CaseServiceServer).SearchCases(ctx, req.(*SearchCasesRequest))
1376 }
1377 return interceptor(ctx, in, info, handler)
1378 }
1379
1380 func _CaseService_CreateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1381 in := new(CreateCaseRequest)
1382 if err := dec(in); err != nil {
1383 return nil, err
1384 }
1385 if interceptor == nil {
1386 return srv.(CaseServiceServer).CreateCase(ctx, in)
1387 }
1388 info := &grpc.UnaryServerInfo{
1389 Server: srv,
1390 FullMethod: "/google.cloud.support.v2beta.CaseService/CreateCase",
1391 }
1392 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1393 return srv.(CaseServiceServer).CreateCase(ctx, req.(*CreateCaseRequest))
1394 }
1395 return interceptor(ctx, in, info, handler)
1396 }
1397
1398 func _CaseService_UpdateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1399 in := new(UpdateCaseRequest)
1400 if err := dec(in); err != nil {
1401 return nil, err
1402 }
1403 if interceptor == nil {
1404 return srv.(CaseServiceServer).UpdateCase(ctx, in)
1405 }
1406 info := &grpc.UnaryServerInfo{
1407 Server: srv,
1408 FullMethod: "/google.cloud.support.v2beta.CaseService/UpdateCase",
1409 }
1410 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1411 return srv.(CaseServiceServer).UpdateCase(ctx, req.(*UpdateCaseRequest))
1412 }
1413 return interceptor(ctx, in, info, handler)
1414 }
1415
1416 func _CaseService_EscalateCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1417 in := new(EscalateCaseRequest)
1418 if err := dec(in); err != nil {
1419 return nil, err
1420 }
1421 if interceptor == nil {
1422 return srv.(CaseServiceServer).EscalateCase(ctx, in)
1423 }
1424 info := &grpc.UnaryServerInfo{
1425 Server: srv,
1426 FullMethod: "/google.cloud.support.v2beta.CaseService/EscalateCase",
1427 }
1428 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1429 return srv.(CaseServiceServer).EscalateCase(ctx, req.(*EscalateCaseRequest))
1430 }
1431 return interceptor(ctx, in, info, handler)
1432 }
1433
1434 func _CaseService_CloseCase_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1435 in := new(CloseCaseRequest)
1436 if err := dec(in); err != nil {
1437 return nil, err
1438 }
1439 if interceptor == nil {
1440 return srv.(CaseServiceServer).CloseCase(ctx, in)
1441 }
1442 info := &grpc.UnaryServerInfo{
1443 Server: srv,
1444 FullMethod: "/google.cloud.support.v2beta.CaseService/CloseCase",
1445 }
1446 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1447 return srv.(CaseServiceServer).CloseCase(ctx, req.(*CloseCaseRequest))
1448 }
1449 return interceptor(ctx, in, info, handler)
1450 }
1451
1452 func _CaseService_SearchCaseClassifications_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1453 in := new(SearchCaseClassificationsRequest)
1454 if err := dec(in); err != nil {
1455 return nil, err
1456 }
1457 if interceptor == nil {
1458 return srv.(CaseServiceServer).SearchCaseClassifications(ctx, in)
1459 }
1460 info := &grpc.UnaryServerInfo{
1461 Server: srv,
1462 FullMethod: "/google.cloud.support.v2beta.CaseService/SearchCaseClassifications",
1463 }
1464 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1465 return srv.(CaseServiceServer).SearchCaseClassifications(ctx, req.(*SearchCaseClassificationsRequest))
1466 }
1467 return interceptor(ctx, in, info, handler)
1468 }
1469
1470 var _CaseService_serviceDesc = grpc.ServiceDesc{
1471 ServiceName: "google.cloud.support.v2beta.CaseService",
1472 HandlerType: (*CaseServiceServer)(nil),
1473 Methods: []grpc.MethodDesc{
1474 {
1475 MethodName: "GetCase",
1476 Handler: _CaseService_GetCase_Handler,
1477 },
1478 {
1479 MethodName: "ListCases",
1480 Handler: _CaseService_ListCases_Handler,
1481 },
1482 {
1483 MethodName: "SearchCases",
1484 Handler: _CaseService_SearchCases_Handler,
1485 },
1486 {
1487 MethodName: "CreateCase",
1488 Handler: _CaseService_CreateCase_Handler,
1489 },
1490 {
1491 MethodName: "UpdateCase",
1492 Handler: _CaseService_UpdateCase_Handler,
1493 },
1494 {
1495 MethodName: "EscalateCase",
1496 Handler: _CaseService_EscalateCase_Handler,
1497 },
1498 {
1499 MethodName: "CloseCase",
1500 Handler: _CaseService_CloseCase_Handler,
1501 },
1502 {
1503 MethodName: "SearchCaseClassifications",
1504 Handler: _CaseService_SearchCaseClassifications_Handler,
1505 },
1506 },
1507 Streams: []grpc.StreamDesc{},
1508 Metadata: "google/cloud/support/v2beta/case_service.proto",
1509 }