1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package batch
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 longrunning "google.golang.org/genproto/googleapis/longrunning"
30 grpc "google.golang.org/grpc"
31 codes "google.golang.org/grpc/codes"
32 status "google.golang.org/grpc/status"
33 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
34 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
35 emptypb "google.golang.org/protobuf/types/known/emptypb"
36 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
37 )
38
39 const (
40
41 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
42
43 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
44 )
45
46
47
48 type Empty = emptypb.Empty
49
50
51 type CreateJobRequest struct {
52 state protoimpl.MessageState
53 sizeCache protoimpl.SizeCache
54 unknownFields protoimpl.UnknownFields
55
56
57
58 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
59
60
61
62
63
64
65
66
67
68 JobId string `protobuf:"bytes,2,opt,name=job_id,json=jobId,proto3" json:"job_id,omitempty"`
69
70 Job *Job `protobuf:"bytes,3,opt,name=job,proto3" json:"job,omitempty"`
71
72
73
74
75
76
77
78
79
80
81
82
83
84 RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
85 }
86
87 func (x *CreateJobRequest) Reset() {
88 *x = CreateJobRequest{}
89 if protoimpl.UnsafeEnabled {
90 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[0]
91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
92 ms.StoreMessageInfo(mi)
93 }
94 }
95
96 func (x *CreateJobRequest) String() string {
97 return protoimpl.X.MessageStringOf(x)
98 }
99
100 func (*CreateJobRequest) ProtoMessage() {}
101
102 func (x *CreateJobRequest) ProtoReflect() protoreflect.Message {
103 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[0]
104 if protoimpl.UnsafeEnabled && x != nil {
105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
106 if ms.LoadMessageInfo() == nil {
107 ms.StoreMessageInfo(mi)
108 }
109 return ms
110 }
111 return mi.MessageOf(x)
112 }
113
114
115 func (*CreateJobRequest) Descriptor() ([]byte, []int) {
116 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{0}
117 }
118
119 func (x *CreateJobRequest) GetParent() string {
120 if x != nil {
121 return x.Parent
122 }
123 return ""
124 }
125
126 func (x *CreateJobRequest) GetJobId() string {
127 if x != nil {
128 return x.JobId
129 }
130 return ""
131 }
132
133 func (x *CreateJobRequest) GetJob() *Job {
134 if x != nil {
135 return x.Job
136 }
137 return nil
138 }
139
140 func (x *CreateJobRequest) GetRequestId() string {
141 if x != nil {
142 return x.RequestId
143 }
144 return ""
145 }
146
147
148 type GetJobRequest struct {
149 state protoimpl.MessageState
150 sizeCache protoimpl.SizeCache
151 unknownFields protoimpl.UnknownFields
152
153
154 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
155 }
156
157 func (x *GetJobRequest) Reset() {
158 *x = GetJobRequest{}
159 if protoimpl.UnsafeEnabled {
160 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[1]
161 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
162 ms.StoreMessageInfo(mi)
163 }
164 }
165
166 func (x *GetJobRequest) String() string {
167 return protoimpl.X.MessageStringOf(x)
168 }
169
170 func (*GetJobRequest) ProtoMessage() {}
171
172 func (x *GetJobRequest) ProtoReflect() protoreflect.Message {
173 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[1]
174 if protoimpl.UnsafeEnabled && x != nil {
175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
176 if ms.LoadMessageInfo() == nil {
177 ms.StoreMessageInfo(mi)
178 }
179 return ms
180 }
181 return mi.MessageOf(x)
182 }
183
184
185 func (*GetJobRequest) Descriptor() ([]byte, []int) {
186 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{1}
187 }
188
189 func (x *GetJobRequest) GetName() string {
190 if x != nil {
191 return x.Name
192 }
193 return ""
194 }
195
196
197 type DeleteJobRequest struct {
198 state protoimpl.MessageState
199 sizeCache protoimpl.SizeCache
200 unknownFields protoimpl.UnknownFields
201
202
203 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
204
205 Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
206
207
208
209
210
211
212
213
214
215
216
217
218
219 RequestId string `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
220 }
221
222 func (x *DeleteJobRequest) Reset() {
223 *x = DeleteJobRequest{}
224 if protoimpl.UnsafeEnabled {
225 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[2]
226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227 ms.StoreMessageInfo(mi)
228 }
229 }
230
231 func (x *DeleteJobRequest) String() string {
232 return protoimpl.X.MessageStringOf(x)
233 }
234
235 func (*DeleteJobRequest) ProtoMessage() {}
236
237 func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message {
238 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[2]
239 if protoimpl.UnsafeEnabled && x != nil {
240 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
241 if ms.LoadMessageInfo() == nil {
242 ms.StoreMessageInfo(mi)
243 }
244 return ms
245 }
246 return mi.MessageOf(x)
247 }
248
249
250 func (*DeleteJobRequest) Descriptor() ([]byte, []int) {
251 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{2}
252 }
253
254 func (x *DeleteJobRequest) GetName() string {
255 if x != nil {
256 return x.Name
257 }
258 return ""
259 }
260
261 func (x *DeleteJobRequest) GetReason() string {
262 if x != nil {
263 return x.Reason
264 }
265 return ""
266 }
267
268 func (x *DeleteJobRequest) GetRequestId() string {
269 if x != nil {
270 return x.RequestId
271 }
272 return ""
273 }
274
275
276 type ListJobsRequest struct {
277 state protoimpl.MessageState
278 sizeCache protoimpl.SizeCache
279 unknownFields protoimpl.UnknownFields
280
281
282 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
283
284 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
285
286 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
287
288 PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
289 }
290
291 func (x *ListJobsRequest) Reset() {
292 *x = ListJobsRequest{}
293 if protoimpl.UnsafeEnabled {
294 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[3]
295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
296 ms.StoreMessageInfo(mi)
297 }
298 }
299
300 func (x *ListJobsRequest) String() string {
301 return protoimpl.X.MessageStringOf(x)
302 }
303
304 func (*ListJobsRequest) ProtoMessage() {}
305
306 func (x *ListJobsRequest) ProtoReflect() protoreflect.Message {
307 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[3]
308 if protoimpl.UnsafeEnabled && x != nil {
309 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
310 if ms.LoadMessageInfo() == nil {
311 ms.StoreMessageInfo(mi)
312 }
313 return ms
314 }
315 return mi.MessageOf(x)
316 }
317
318
319 func (*ListJobsRequest) Descriptor() ([]byte, []int) {
320 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{3}
321 }
322
323 func (x *ListJobsRequest) GetParent() string {
324 if x != nil {
325 return x.Parent
326 }
327 return ""
328 }
329
330 func (x *ListJobsRequest) GetFilter() string {
331 if x != nil {
332 return x.Filter
333 }
334 return ""
335 }
336
337 func (x *ListJobsRequest) GetPageSize() int32 {
338 if x != nil {
339 return x.PageSize
340 }
341 return 0
342 }
343
344 func (x *ListJobsRequest) GetPageToken() string {
345 if x != nil {
346 return x.PageToken
347 }
348 return ""
349 }
350
351
352 type ListJobsResponse struct {
353 state protoimpl.MessageState
354 sizeCache protoimpl.SizeCache
355 unknownFields protoimpl.UnknownFields
356
357
358 Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
359
360 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
361
362 Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
363 }
364
365 func (x *ListJobsResponse) Reset() {
366 *x = ListJobsResponse{}
367 if protoimpl.UnsafeEnabled {
368 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[4]
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 ms.StoreMessageInfo(mi)
371 }
372 }
373
374 func (x *ListJobsResponse) String() string {
375 return protoimpl.X.MessageStringOf(x)
376 }
377
378 func (*ListJobsResponse) ProtoMessage() {}
379
380 func (x *ListJobsResponse) ProtoReflect() protoreflect.Message {
381 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[4]
382 if protoimpl.UnsafeEnabled && x != nil {
383 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
384 if ms.LoadMessageInfo() == nil {
385 ms.StoreMessageInfo(mi)
386 }
387 return ms
388 }
389 return mi.MessageOf(x)
390 }
391
392
393 func (*ListJobsResponse) Descriptor() ([]byte, []int) {
394 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{4}
395 }
396
397 func (x *ListJobsResponse) GetJobs() []*Job {
398 if x != nil {
399 return x.Jobs
400 }
401 return nil
402 }
403
404 func (x *ListJobsResponse) GetNextPageToken() string {
405 if x != nil {
406 return x.NextPageToken
407 }
408 return ""
409 }
410
411 func (x *ListJobsResponse) GetUnreachable() []string {
412 if x != nil {
413 return x.Unreachable
414 }
415 return nil
416 }
417
418
419 type ListTasksRequest struct {
420 state protoimpl.MessageState
421 sizeCache protoimpl.SizeCache
422 unknownFields protoimpl.UnknownFields
423
424
425
426
427 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
428
429
430
431 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
432
433 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
434
435 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
436 }
437
438 func (x *ListTasksRequest) Reset() {
439 *x = ListTasksRequest{}
440 if protoimpl.UnsafeEnabled {
441 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[5]
442 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
443 ms.StoreMessageInfo(mi)
444 }
445 }
446
447 func (x *ListTasksRequest) String() string {
448 return protoimpl.X.MessageStringOf(x)
449 }
450
451 func (*ListTasksRequest) ProtoMessage() {}
452
453 func (x *ListTasksRequest) ProtoReflect() protoreflect.Message {
454 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[5]
455 if protoimpl.UnsafeEnabled && x != nil {
456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
457 if ms.LoadMessageInfo() == nil {
458 ms.StoreMessageInfo(mi)
459 }
460 return ms
461 }
462 return mi.MessageOf(x)
463 }
464
465
466 func (*ListTasksRequest) Descriptor() ([]byte, []int) {
467 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{5}
468 }
469
470 func (x *ListTasksRequest) GetParent() string {
471 if x != nil {
472 return x.Parent
473 }
474 return ""
475 }
476
477 func (x *ListTasksRequest) GetFilter() string {
478 if x != nil {
479 return x.Filter
480 }
481 return ""
482 }
483
484 func (x *ListTasksRequest) GetPageSize() int32 {
485 if x != nil {
486 return x.PageSize
487 }
488 return 0
489 }
490
491 func (x *ListTasksRequest) GetPageToken() string {
492 if x != nil {
493 return x.PageToken
494 }
495 return ""
496 }
497
498
499 type ListTasksResponse struct {
500 state protoimpl.MessageState
501 sizeCache protoimpl.SizeCache
502 unknownFields protoimpl.UnknownFields
503
504
505 Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
506
507 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
508
509 Unreachable []string `protobuf:"bytes,3,rep,name=unreachable,proto3" json:"unreachable,omitempty"`
510 }
511
512 func (x *ListTasksResponse) Reset() {
513 *x = ListTasksResponse{}
514 if protoimpl.UnsafeEnabled {
515 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[6]
516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
517 ms.StoreMessageInfo(mi)
518 }
519 }
520
521 func (x *ListTasksResponse) String() string {
522 return protoimpl.X.MessageStringOf(x)
523 }
524
525 func (*ListTasksResponse) ProtoMessage() {}
526
527 func (x *ListTasksResponse) ProtoReflect() protoreflect.Message {
528 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[6]
529 if protoimpl.UnsafeEnabled && x != nil {
530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
531 if ms.LoadMessageInfo() == nil {
532 ms.StoreMessageInfo(mi)
533 }
534 return ms
535 }
536 return mi.MessageOf(x)
537 }
538
539
540 func (*ListTasksResponse) Descriptor() ([]byte, []int) {
541 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{6}
542 }
543
544 func (x *ListTasksResponse) GetTasks() []*Task {
545 if x != nil {
546 return x.Tasks
547 }
548 return nil
549 }
550
551 func (x *ListTasksResponse) GetNextPageToken() string {
552 if x != nil {
553 return x.NextPageToken
554 }
555 return ""
556 }
557
558 func (x *ListTasksResponse) GetUnreachable() []string {
559 if x != nil {
560 return x.Unreachable
561 }
562 return nil
563 }
564
565
566 type GetTaskRequest struct {
567 state protoimpl.MessageState
568 sizeCache protoimpl.SizeCache
569 unknownFields protoimpl.UnknownFields
570
571
572 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
573 }
574
575 func (x *GetTaskRequest) Reset() {
576 *x = GetTaskRequest{}
577 if protoimpl.UnsafeEnabled {
578 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[7]
579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
580 ms.StoreMessageInfo(mi)
581 }
582 }
583
584 func (x *GetTaskRequest) String() string {
585 return protoimpl.X.MessageStringOf(x)
586 }
587
588 func (*GetTaskRequest) ProtoMessage() {}
589
590 func (x *GetTaskRequest) ProtoReflect() protoreflect.Message {
591 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[7]
592 if protoimpl.UnsafeEnabled && x != nil {
593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
594 if ms.LoadMessageInfo() == nil {
595 ms.StoreMessageInfo(mi)
596 }
597 return ms
598 }
599 return mi.MessageOf(x)
600 }
601
602
603 func (*GetTaskRequest) Descriptor() ([]byte, []int) {
604 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{7}
605 }
606
607 func (x *GetTaskRequest) GetName() string {
608 if x != nil {
609 return x.Name
610 }
611 return ""
612 }
613
614
615 type OperationMetadata struct {
616 state protoimpl.MessageState
617 sizeCache protoimpl.SizeCache
618 unknownFields protoimpl.UnknownFields
619
620
621 CreateTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
622
623 EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
624
625 Target string `protobuf:"bytes,3,opt,name=target,proto3" json:"target,omitempty"`
626
627 Verb string `protobuf:"bytes,4,opt,name=verb,proto3" json:"verb,omitempty"`
628
629 StatusMessage string `protobuf:"bytes,5,opt,name=status_message,json=statusMessage,proto3" json:"status_message,omitempty"`
630
631
632
633
634
635 RequestedCancellation bool `protobuf:"varint,6,opt,name=requested_cancellation,json=requestedCancellation,proto3" json:"requested_cancellation,omitempty"`
636
637 ApiVersion string `protobuf:"bytes,7,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
638 }
639
640 func (x *OperationMetadata) Reset() {
641 *x = OperationMetadata{}
642 if protoimpl.UnsafeEnabled {
643 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[8]
644 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
645 ms.StoreMessageInfo(mi)
646 }
647 }
648
649 func (x *OperationMetadata) String() string {
650 return protoimpl.X.MessageStringOf(x)
651 }
652
653 func (*OperationMetadata) ProtoMessage() {}
654
655 func (x *OperationMetadata) ProtoReflect() protoreflect.Message {
656 mi := &file_google_cloud_batch_v1alpha_batch_proto_msgTypes[8]
657 if protoimpl.UnsafeEnabled && x != nil {
658 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
659 if ms.LoadMessageInfo() == nil {
660 ms.StoreMessageInfo(mi)
661 }
662 return ms
663 }
664 return mi.MessageOf(x)
665 }
666
667
668 func (*OperationMetadata) Descriptor() ([]byte, []int) {
669 return file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP(), []int{8}
670 }
671
672 func (x *OperationMetadata) GetCreateTime() *timestamppb.Timestamp {
673 if x != nil {
674 return x.CreateTime
675 }
676 return nil
677 }
678
679 func (x *OperationMetadata) GetEndTime() *timestamppb.Timestamp {
680 if x != nil {
681 return x.EndTime
682 }
683 return nil
684 }
685
686 func (x *OperationMetadata) GetTarget() string {
687 if x != nil {
688 return x.Target
689 }
690 return ""
691 }
692
693 func (x *OperationMetadata) GetVerb() string {
694 if x != nil {
695 return x.Verb
696 }
697 return ""
698 }
699
700 func (x *OperationMetadata) GetStatusMessage() string {
701 if x != nil {
702 return x.StatusMessage
703 }
704 return ""
705 }
706
707 func (x *OperationMetadata) GetRequestedCancellation() bool {
708 if x != nil {
709 return x.RequestedCancellation
710 }
711 return false
712 }
713
714 func (x *OperationMetadata) GetApiVersion() string {
715 if x != nil {
716 return x.ApiVersion
717 }
718 return ""
719 }
720
721 var File_google_cloud_batch_v1alpha_batch_proto protoreflect.FileDescriptor
722
723 var file_google_cloud_batch_v1alpha_batch_proto_rawDesc = []byte{
724 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
725 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x62, 0x61, 0x74,
726 0x63, 0x68, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
727 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
728 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
729 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
730 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e,
731 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
732 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65,
733 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
734 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
735 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
736 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70,
737 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f,
738 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
739 0x2f, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x25, 0x67, 0x6f, 0x6f, 0x67,
740 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76,
741 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
742 0x6f, 0x1a, 0x23, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75,
743 0x6e, 0x6e, 0x69, 0x6e, 0x67, 0x2f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
744 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
745 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
746 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbf, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61,
747 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x06,
748 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xe0, 0x41,
749 0x02, 0xfa, 0x41, 0x1a, 0x12, 0x18, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
750 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x52, 0x06,
751 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x15, 0x0a, 0x06, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64,
752 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6a, 0x6f, 0x62, 0x49, 0x64, 0x12, 0x36, 0x0a,
753 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f, 0x6f,
754 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e,
755 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x42, 0x03, 0xe0, 0x41, 0x02,
756 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
757 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09,
758 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x45, 0x0a, 0x0d, 0x47, 0x65, 0x74,
759 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x34, 0x0a, 0x04, 0x6e, 0x61,
760 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1a,
761 0x0a, 0x18, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
762 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
763 0x22, 0x67, 0x0a, 0x10, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71,
764 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
765 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x65, 0x61, 0x73,
766 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x72,
767 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
768 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09,
769 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x22, 0x7d, 0x0a, 0x0f, 0x4c, 0x69, 0x73,
770 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06,
771 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x61,
772 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x04,
773 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09,
774 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
775 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67,
776 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70,
777 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x91, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73,
778 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x33, 0x0a,
779 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f,
780 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
781 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x04, 0x6a, 0x6f,
782 0x62, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f,
783 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78,
784 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75, 0x6e,
785 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52,
786 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0xa6, 0x01, 0x0a,
787 0x10, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
788 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
789 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x62, 0x61, 0x74, 0x63, 0x68,
790 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
791 0x54, 0x61, 0x73, 0x6b, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e,
792 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
793 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67,
794 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61,
795 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74,
796 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65,
797 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x95, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61,
798 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x74,
799 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f,
800 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e,
801 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61,
802 0x73, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65,
803 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65,
804 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x75,
805 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09,
806 0x52, 0x0b, 0x75, 0x6e, 0x72, 0x65, 0x61, 0x63, 0x68, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x47, 0x0a,
807 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
808 0x35, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x21, 0xe0,
809 0x41, 0x02, 0xfa, 0x41, 0x1b, 0x0a, 0x19, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f,
810 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b,
811 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0xd5, 0x02, 0x0a, 0x11, 0x4f, 0x70, 0x65, 0x72, 0x61,
812 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x40, 0x0a, 0x0b,
813 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
814 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
815 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0,
816 0x41, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3a,
817 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
818 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
819 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41,
820 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x74, 0x61,
821 0x72, 0x67, 0x65, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52,
822 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x76, 0x65, 0x72, 0x62, 0x18,
823 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x04, 0x76, 0x65, 0x72, 0x62,
824 0x12, 0x2a, 0x0a, 0x0e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61,
825 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x03, 0x52, 0x0d, 0x73,
826 0x74, 0x61, 0x74, 0x75, 0x73, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x3a, 0x0a, 0x16,
827 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x5f, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c,
828 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41,
829 0x03, 0x52, 0x15, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x65, 0x64, 0x43, 0x61, 0x6e, 0x63,
830 0x65, 0x6c, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x0a, 0x0b, 0x61, 0x70, 0x69, 0x5f,
831 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
832 0x41, 0x03, 0x52, 0x0a, 0x61, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, 0x91,
833 0x09, 0x0a, 0x0c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
834 0xaa, 0x01, 0x0a, 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x2c, 0x2e,
835 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74,
836 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74,
837 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f,
838 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68,
839 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x4e, 0x82, 0xd3,
840 0xe4, 0x93, 0x02, 0x34, 0x22, 0x2d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b,
841 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
842 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6a,
843 0x6f, 0x62, 0x73, 0x3a, 0x03, 0x6a, 0x6f, 0x62, 0xda, 0x41, 0x11, 0x70, 0x61, 0x72, 0x65, 0x6e,
844 0x74, 0x2c, 0x6a, 0x6f, 0x62, 0x2c, 0x6a, 0x6f, 0x62, 0x5f, 0x69, 0x64, 0x12, 0x92, 0x01, 0x0a,
845 0x06, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
846 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
847 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65,
848 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
849 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
850 0x4a, 0x6f, 0x62, 0x22, 0x3c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31,
851 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
852 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
853 0x2f, 0x2a, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d,
854 0x65, 0x12, 0xdf, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12,
855 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
856 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x6c,
857 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e,
858 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6c, 0x6f, 0x6e, 0x67, 0x72, 0x75, 0x6e, 0x6e, 0x69,
859 0x6e, 0x67, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x01, 0x82,
860 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x2a, 0x2d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f,
861 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
862 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6a, 0x6f, 0x62,
863 0x73, 0x2f, 0x2a, 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0xca, 0x41, 0x45, 0x0a, 0x15,
864 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
865 0x45, 0x6d, 0x70, 0x74, 0x79, 0x12, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
866 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
867 0x61, 0x2e, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x74, 0x61, 0x64,
868 0x61, 0x74, 0x61, 0x12, 0xa5, 0x01, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73,
869 0x12, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
870 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69,
871 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2c, 0x2e,
872 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74,
873 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4a,
874 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3e, 0x82, 0xd3, 0xe4,
875 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x70,
876 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
877 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6a, 0x6f,
878 0x62, 0x73, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0xaa, 0x01, 0x0a, 0x07,
879 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
880 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61,
881 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75,
882 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
883 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61,
884 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x22, 0x51, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42, 0x2f,
885 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
886 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
887 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b,
888 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a,
889 0x7d, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0xbd, 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73,
890 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
891 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c,
892 0x70, 0x68, 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71,
893 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
894 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68,
895 0x61, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
896 0x6e, 0x73, 0x65, 0x22, 0x53, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x44, 0x12, 0x42, 0x2f, 0x76, 0x31,
897 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
898 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
899 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b,
900 0x47, 0x72, 0x6f, 0x75, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0xda,
901 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x1a, 0x48, 0xca, 0x41, 0x14, 0x62, 0x61, 0x74,
902 0x63, 0x68, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
903 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
904 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
905 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
906 0x72, 0x6d, 0x42, 0xcf, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
907 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2e, 0x76, 0x31,
908 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x0a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74,
909 0x6f, 0x50, 0x01, 0x5a, 0x3f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
910 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
911 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
912 0x2f, 0x62, 0x61, 0x74, 0x63, 0x68, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x62,
913 0x61, 0x74, 0x63, 0x68, 0xa2, 0x02, 0x03, 0x47, 0x43, 0x42, 0xaa, 0x02, 0x1a, 0x47, 0x6f, 0x6f,
914 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x61, 0x74, 0x63, 0x68, 0x2e,
915 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x1a, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
916 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x61, 0x74, 0x63, 0x68, 0x5c, 0x56, 0x31, 0x61,
917 0x6c, 0x70, 0x68, 0x61, 0xea, 0x02, 0x1d, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43,
918 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x61, 0x74, 0x63, 0x68, 0x3a, 0x3a, 0x56, 0x31, 0x61,
919 0x6c, 0x70, 0x68, 0x61, 0x50, 0x00, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
920 }
921
922 var (
923 file_google_cloud_batch_v1alpha_batch_proto_rawDescOnce sync.Once
924 file_google_cloud_batch_v1alpha_batch_proto_rawDescData = file_google_cloud_batch_v1alpha_batch_proto_rawDesc
925 )
926
927 func file_google_cloud_batch_v1alpha_batch_proto_rawDescGZIP() []byte {
928 file_google_cloud_batch_v1alpha_batch_proto_rawDescOnce.Do(func() {
929 file_google_cloud_batch_v1alpha_batch_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_batch_v1alpha_batch_proto_rawDescData)
930 })
931 return file_google_cloud_batch_v1alpha_batch_proto_rawDescData
932 }
933
934 var file_google_cloud_batch_v1alpha_batch_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
935 var file_google_cloud_batch_v1alpha_batch_proto_goTypes = []interface{}{
936 (*CreateJobRequest)(nil),
937 (*GetJobRequest)(nil),
938 (*DeleteJobRequest)(nil),
939 (*ListJobsRequest)(nil),
940 (*ListJobsResponse)(nil),
941 (*ListTasksRequest)(nil),
942 (*ListTasksResponse)(nil),
943 (*GetTaskRequest)(nil),
944 (*OperationMetadata)(nil),
945 (*Job)(nil),
946 (*Task)(nil),
947 (*timestamppb.Timestamp)(nil),
948 (*longrunning.Operation)(nil),
949 }
950 var file_google_cloud_batch_v1alpha_batch_proto_depIdxs = []int32{
951 9,
952 9,
953 10,
954 11,
955 11,
956 0,
957 1,
958 2,
959 3,
960 7,
961 5,
962 9,
963 9,
964 12,
965 4,
966 10,
967 6,
968 11,
969 5,
970 5,
971 5,
972 0,
973 }
974
975 func init() { file_google_cloud_batch_v1alpha_batch_proto_init() }
976 func file_google_cloud_batch_v1alpha_batch_proto_init() {
977 if File_google_cloud_batch_v1alpha_batch_proto != nil {
978 return
979 }
980 file_google_cloud_batch_v1alpha_job_proto_init()
981 file_google_cloud_batch_v1alpha_task_proto_init()
982 if !protoimpl.UnsafeEnabled {
983 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
984 switch v := v.(*CreateJobRequest); i {
985 case 0:
986 return &v.state
987 case 1:
988 return &v.sizeCache
989 case 2:
990 return &v.unknownFields
991 default:
992 return nil
993 }
994 }
995 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
996 switch v := v.(*GetJobRequest); i {
997 case 0:
998 return &v.state
999 case 1:
1000 return &v.sizeCache
1001 case 2:
1002 return &v.unknownFields
1003 default:
1004 return nil
1005 }
1006 }
1007 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1008 switch v := v.(*DeleteJobRequest); i {
1009 case 0:
1010 return &v.state
1011 case 1:
1012 return &v.sizeCache
1013 case 2:
1014 return &v.unknownFields
1015 default:
1016 return nil
1017 }
1018 }
1019 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1020 switch v := v.(*ListJobsRequest); i {
1021 case 0:
1022 return &v.state
1023 case 1:
1024 return &v.sizeCache
1025 case 2:
1026 return &v.unknownFields
1027 default:
1028 return nil
1029 }
1030 }
1031 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1032 switch v := v.(*ListJobsResponse); i {
1033 case 0:
1034 return &v.state
1035 case 1:
1036 return &v.sizeCache
1037 case 2:
1038 return &v.unknownFields
1039 default:
1040 return nil
1041 }
1042 }
1043 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1044 switch v := v.(*ListTasksRequest); i {
1045 case 0:
1046 return &v.state
1047 case 1:
1048 return &v.sizeCache
1049 case 2:
1050 return &v.unknownFields
1051 default:
1052 return nil
1053 }
1054 }
1055 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
1056 switch v := v.(*ListTasksResponse); i {
1057 case 0:
1058 return &v.state
1059 case 1:
1060 return &v.sizeCache
1061 case 2:
1062 return &v.unknownFields
1063 default:
1064 return nil
1065 }
1066 }
1067 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
1068 switch v := v.(*GetTaskRequest); i {
1069 case 0:
1070 return &v.state
1071 case 1:
1072 return &v.sizeCache
1073 case 2:
1074 return &v.unknownFields
1075 default:
1076 return nil
1077 }
1078 }
1079 file_google_cloud_batch_v1alpha_batch_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
1080 switch v := v.(*OperationMetadata); i {
1081 case 0:
1082 return &v.state
1083 case 1:
1084 return &v.sizeCache
1085 case 2:
1086 return &v.unknownFields
1087 default:
1088 return nil
1089 }
1090 }
1091 }
1092 type x struct{}
1093 out := protoimpl.TypeBuilder{
1094 File: protoimpl.DescBuilder{
1095 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1096 RawDescriptor: file_google_cloud_batch_v1alpha_batch_proto_rawDesc,
1097 NumEnums: 0,
1098 NumMessages: 9,
1099 NumExtensions: 0,
1100 NumServices: 1,
1101 },
1102 GoTypes: file_google_cloud_batch_v1alpha_batch_proto_goTypes,
1103 DependencyIndexes: file_google_cloud_batch_v1alpha_batch_proto_depIdxs,
1104 MessageInfos: file_google_cloud_batch_v1alpha_batch_proto_msgTypes,
1105 }.Build()
1106 File_google_cloud_batch_v1alpha_batch_proto = out.File
1107 file_google_cloud_batch_v1alpha_batch_proto_rawDesc = nil
1108 file_google_cloud_batch_v1alpha_batch_proto_goTypes = nil
1109 file_google_cloud_batch_v1alpha_batch_proto_depIdxs = nil
1110 }
1111
1112
1113 var _ context.Context
1114 var _ grpc.ClientConnInterface
1115
1116
1117
1118 const _ = grpc.SupportPackageIsVersion6
1119
1120
1121
1122
1123 type BatchServiceClient interface {
1124
1125 CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error)
1126
1127 GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error)
1128
1129 DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*longrunning.Operation, error)
1130
1131 ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error)
1132
1133 GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error)
1134
1135 ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
1136 }
1137
1138 type batchServiceClient struct {
1139 cc grpc.ClientConnInterface
1140 }
1141
1142 func NewBatchServiceClient(cc grpc.ClientConnInterface) BatchServiceClient {
1143 return &batchServiceClient{cc}
1144 }
1145
1146 func (c *batchServiceClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) {
1147 out := new(Job)
1148 err := c.cc.Invoke(ctx, "/google.cloud.batch.v1alpha.BatchService/CreateJob", in, out, opts...)
1149 if err != nil {
1150 return nil, err
1151 }
1152 return out, nil
1153 }
1154
1155 func (c *batchServiceClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) {
1156 out := new(Job)
1157 err := c.cc.Invoke(ctx, "/google.cloud.batch.v1alpha.BatchService/GetJob", in, out, opts...)
1158 if err != nil {
1159 return nil, err
1160 }
1161 return out, nil
1162 }
1163
1164 func (c *batchServiceClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*longrunning.Operation, error) {
1165 out := new(longrunning.Operation)
1166 err := c.cc.Invoke(ctx, "/google.cloud.batch.v1alpha.BatchService/DeleteJob", in, out, opts...)
1167 if err != nil {
1168 return nil, err
1169 }
1170 return out, nil
1171 }
1172
1173 func (c *batchServiceClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) {
1174 out := new(ListJobsResponse)
1175 err := c.cc.Invoke(ctx, "/google.cloud.batch.v1alpha.BatchService/ListJobs", in, out, opts...)
1176 if err != nil {
1177 return nil, err
1178 }
1179 return out, nil
1180 }
1181
1182 func (c *batchServiceClient) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error) {
1183 out := new(Task)
1184 err := c.cc.Invoke(ctx, "/google.cloud.batch.v1alpha.BatchService/GetTask", in, out, opts...)
1185 if err != nil {
1186 return nil, err
1187 }
1188 return out, nil
1189 }
1190
1191 func (c *batchServiceClient) ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) {
1192 out := new(ListTasksResponse)
1193 err := c.cc.Invoke(ctx, "/google.cloud.batch.v1alpha.BatchService/ListTasks", in, out, opts...)
1194 if err != nil {
1195 return nil, err
1196 }
1197 return out, nil
1198 }
1199
1200
1201 type BatchServiceServer interface {
1202
1203 CreateJob(context.Context, *CreateJobRequest) (*Job, error)
1204
1205 GetJob(context.Context, *GetJobRequest) (*Job, error)
1206
1207 DeleteJob(context.Context, *DeleteJobRequest) (*longrunning.Operation, error)
1208
1209 ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
1210
1211 GetTask(context.Context, *GetTaskRequest) (*Task, error)
1212
1213 ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
1214 }
1215
1216
1217 type UnimplementedBatchServiceServer struct {
1218 }
1219
1220 func (*UnimplementedBatchServiceServer) CreateJob(context.Context, *CreateJobRequest) (*Job, error) {
1221 return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented")
1222 }
1223 func (*UnimplementedBatchServiceServer) GetJob(context.Context, *GetJobRequest) (*Job, error) {
1224 return nil, status.Errorf(codes.Unimplemented, "method GetJob not implemented")
1225 }
1226 func (*UnimplementedBatchServiceServer) DeleteJob(context.Context, *DeleteJobRequest) (*longrunning.Operation, error) {
1227 return nil, status.Errorf(codes.Unimplemented, "method DeleteJob not implemented")
1228 }
1229 func (*UnimplementedBatchServiceServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) {
1230 return nil, status.Errorf(codes.Unimplemented, "method ListJobs not implemented")
1231 }
1232 func (*UnimplementedBatchServiceServer) GetTask(context.Context, *GetTaskRequest) (*Task, error) {
1233 return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented")
1234 }
1235 func (*UnimplementedBatchServiceServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error) {
1236 return nil, status.Errorf(codes.Unimplemented, "method ListTasks not implemented")
1237 }
1238
1239 func RegisterBatchServiceServer(s *grpc.Server, srv BatchServiceServer) {
1240 s.RegisterService(&_BatchService_serviceDesc, srv)
1241 }
1242
1243 func _BatchService_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1244 in := new(CreateJobRequest)
1245 if err := dec(in); err != nil {
1246 return nil, err
1247 }
1248 if interceptor == nil {
1249 return srv.(BatchServiceServer).CreateJob(ctx, in)
1250 }
1251 info := &grpc.UnaryServerInfo{
1252 Server: srv,
1253 FullMethod: "/google.cloud.batch.v1alpha.BatchService/CreateJob",
1254 }
1255 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1256 return srv.(BatchServiceServer).CreateJob(ctx, req.(*CreateJobRequest))
1257 }
1258 return interceptor(ctx, in, info, handler)
1259 }
1260
1261 func _BatchService_GetJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1262 in := new(GetJobRequest)
1263 if err := dec(in); err != nil {
1264 return nil, err
1265 }
1266 if interceptor == nil {
1267 return srv.(BatchServiceServer).GetJob(ctx, in)
1268 }
1269 info := &grpc.UnaryServerInfo{
1270 Server: srv,
1271 FullMethod: "/google.cloud.batch.v1alpha.BatchService/GetJob",
1272 }
1273 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1274 return srv.(BatchServiceServer).GetJob(ctx, req.(*GetJobRequest))
1275 }
1276 return interceptor(ctx, in, info, handler)
1277 }
1278
1279 func _BatchService_DeleteJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1280 in := new(DeleteJobRequest)
1281 if err := dec(in); err != nil {
1282 return nil, err
1283 }
1284 if interceptor == nil {
1285 return srv.(BatchServiceServer).DeleteJob(ctx, in)
1286 }
1287 info := &grpc.UnaryServerInfo{
1288 Server: srv,
1289 FullMethod: "/google.cloud.batch.v1alpha.BatchService/DeleteJob",
1290 }
1291 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1292 return srv.(BatchServiceServer).DeleteJob(ctx, req.(*DeleteJobRequest))
1293 }
1294 return interceptor(ctx, in, info, handler)
1295 }
1296
1297 func _BatchService_ListJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1298 in := new(ListJobsRequest)
1299 if err := dec(in); err != nil {
1300 return nil, err
1301 }
1302 if interceptor == nil {
1303 return srv.(BatchServiceServer).ListJobs(ctx, in)
1304 }
1305 info := &grpc.UnaryServerInfo{
1306 Server: srv,
1307 FullMethod: "/google.cloud.batch.v1alpha.BatchService/ListJobs",
1308 }
1309 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1310 return srv.(BatchServiceServer).ListJobs(ctx, req.(*ListJobsRequest))
1311 }
1312 return interceptor(ctx, in, info, handler)
1313 }
1314
1315 func _BatchService_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1316 in := new(GetTaskRequest)
1317 if err := dec(in); err != nil {
1318 return nil, err
1319 }
1320 if interceptor == nil {
1321 return srv.(BatchServiceServer).GetTask(ctx, in)
1322 }
1323 info := &grpc.UnaryServerInfo{
1324 Server: srv,
1325 FullMethod: "/google.cloud.batch.v1alpha.BatchService/GetTask",
1326 }
1327 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1328 return srv.(BatchServiceServer).GetTask(ctx, req.(*GetTaskRequest))
1329 }
1330 return interceptor(ctx, in, info, handler)
1331 }
1332
1333 func _BatchService_ListTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1334 in := new(ListTasksRequest)
1335 if err := dec(in); err != nil {
1336 return nil, err
1337 }
1338 if interceptor == nil {
1339 return srv.(BatchServiceServer).ListTasks(ctx, in)
1340 }
1341 info := &grpc.UnaryServerInfo{
1342 Server: srv,
1343 FullMethod: "/google.cloud.batch.v1alpha.BatchService/ListTasks",
1344 }
1345 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1346 return srv.(BatchServiceServer).ListTasks(ctx, req.(*ListTasksRequest))
1347 }
1348 return interceptor(ctx, in, info, handler)
1349 }
1350
1351 var _BatchService_serviceDesc = grpc.ServiceDesc{
1352 ServiceName: "google.cloud.batch.v1alpha.BatchService",
1353 HandlerType: (*BatchServiceServer)(nil),
1354 Methods: []grpc.MethodDesc{
1355 {
1356 MethodName: "CreateJob",
1357 Handler: _BatchService_CreateJob_Handler,
1358 },
1359 {
1360 MethodName: "GetJob",
1361 Handler: _BatchService_GetJob_Handler,
1362 },
1363 {
1364 MethodName: "DeleteJob",
1365 Handler: _BatchService_DeleteJob_Handler,
1366 },
1367 {
1368 MethodName: "ListJobs",
1369 Handler: _BatchService_ListJobs_Handler,
1370 },
1371 {
1372 MethodName: "GetTask",
1373 Handler: _BatchService_GetTask_Handler,
1374 },
1375 {
1376 MethodName: "ListTasks",
1377 Handler: _BatchService_ListTasks_Handler,
1378 },
1379 },
1380 Streams: []grpc.StreamDesc{},
1381 Metadata: "google/cloud/batch/v1alpha/batch.proto",
1382 }
1383
View as plain text