Debian Codegraph @

cloudtasks/apiv2beta2/cloudtaskspb/cloudtasks.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/tasks/v2beta2/cloudtasks.proto
20
21 package cloudtaskspb
22
23 import (
24 iampb "cloud.google.com/go/iam/apiv1/iampb"
25 context "context"
26 _ "google.golang.org/genproto/googleapis/api/annotations"
27 httpbody "google.golang.org/genproto/googleapis/api/httpbody"
28 grpc "google.golang.org/grpc"
29 codes "google.golang.org/grpc/codes"
30 status "google.golang.org/grpc/status"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33 durationpb "google.golang.org/protobuf/types/known/durationpb"
34 emptypb "google.golang.org/protobuf/types/known/emptypb"
35 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
36 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
37 reflect "reflect"
38 sync "sync"
39 )
40
41 const (
42 // Verify that this generated code is sufficiently up-to-date.
43 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
44 // Verify that runtime/protoimpl is sufficiently up-to-date.
45 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
46 )
47
48 // Request message for
49 // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
50 type ListQueuesRequest struct {
51 state protoimpl.MessageState
52 sizeCache protoimpl.SizeCache
53 unknownFields protoimpl.UnknownFields
54
55 // Required. The location name.
56 // For example: `projects/PROJECT_ID/locations/LOCATION_ID`
57 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
58 // `filter` can be used to specify a subset of queues. Any
59 // [Queue][google.cloud.tasks.v2beta2.Queue] field can be used as a filter and
60 // several operators as supported. For example: `<=, <, >=, >, !=, =, :`. The
61 // filter syntax is the same as described in [Stackdriver's Advanced Logs
62 // Filters](https://cloud.google.com/logging/docs/view/advanced_filters).
63 //
64 // Sample filter "app_engine_http_target: *".
65 //
66 // Note that using filters might cause fewer queues than the
67 // requested_page size to be returned.
68 Filter string `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
69 // Requested page size.
70 //
71 // The maximum page size is 9800. If unspecified, the page size will
72 // be the maximum. Fewer queues than requested might be returned,
73 // even if more queues exist; use the
74 // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token]
75 // in the response to determine if more queues exist.
76 PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
77 // A token identifying the page of results to return.
78 //
79 // To request the first page results, page_token must be empty. To
80 // request the next page of results, page_token must be the value of
81 // [next_page_token][google.cloud.tasks.v2beta2.ListQueuesResponse.next_page_token]
82 // returned from the previous call to
83 // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] method. It
84 // is an error to switch the value of the
85 // [filter][google.cloud.tasks.v2beta2.ListQueuesRequest.filter] while
86 // iterating through pages.
87 PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
88 // Optional. Read mask is used for a more granular control over what the API
89 // returns. If the mask is not present all fields will be returned except
90 // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly
91 // specified in the mask.
92 ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
93 }
94
95 func (x *ListQueuesRequest) Reset() {
96 *x = ListQueuesRequest{}
97 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[0]
98 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
99 ms.StoreMessageInfo(mi)
100 }
101
102 func (x *ListQueuesRequest) String() string {
103 return protoimpl.X.MessageStringOf(x)
104 }
105
106 func (*ListQueuesRequest) ProtoMessage() {}
107
108 func (x *ListQueuesRequest) ProtoReflect() protoreflect.Message {
109 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[0]
110 if x != nil {
111 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
112 if ms.LoadMessageInfo() == nil {
113 ms.StoreMessageInfo(mi)
114 }
115 return ms
116 }
117 return mi.MessageOf(x)
118 }
119
120 // Deprecated: Use ListQueuesRequest.ProtoReflect.Descriptor instead.
121 func (*ListQueuesRequest) Descriptor() ([]byte, []int) {
122 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{0}
123 }
124
125 func (x *ListQueuesRequest) GetParent() string {
126 if x != nil {
127 return x.Parent
128 }
129 return ""
130 }
131
132 func (x *ListQueuesRequest) GetFilter() string {
133 if x != nil {
134 return x.Filter
135 }
136 return ""
137 }
138
139 func (x *ListQueuesRequest) GetPageSize() int32 {
140 if x != nil {
141 return x.PageSize
142 }
143 return 0
144 }
145
146 func (x *ListQueuesRequest) GetPageToken() string {
147 if x != nil {
148 return x.PageToken
149 }
150 return ""
151 }
152
153 func (x *ListQueuesRequest) GetReadMask() *fieldmaskpb.FieldMask {
154 if x != nil {
155 return x.ReadMask
156 }
157 return nil
158 }
159
160 // Response message for
161 // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues].
162 type ListQueuesResponse struct {
163 state protoimpl.MessageState
164 sizeCache protoimpl.SizeCache
165 unknownFields protoimpl.UnknownFields
166
167 // The list of queues.
168 Queues []*Queue `protobuf:"bytes,1,rep,name=queues,proto3" json:"queues,omitempty"`
169 // A token to retrieve next page of results.
170 //
171 // To return the next page of results, call
172 // [ListQueues][google.cloud.tasks.v2beta2.CloudTasks.ListQueues] with this
173 // value as the
174 // [page_token][google.cloud.tasks.v2beta2.ListQueuesRequest.page_token].
175 //
176 // If the next_page_token is empty, there are no more results.
177 //
178 // The page token is valid for only 2 hours.
179 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
180 }
181
182 func (x *ListQueuesResponse) Reset() {
183 *x = ListQueuesResponse{}
184 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[1]
185 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
186 ms.StoreMessageInfo(mi)
187 }
188
189 func (x *ListQueuesResponse) String() string {
190 return protoimpl.X.MessageStringOf(x)
191 }
192
193 func (*ListQueuesResponse) ProtoMessage() {}
194
195 func (x *ListQueuesResponse) ProtoReflect() protoreflect.Message {
196 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[1]
197 if x != nil {
198 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
199 if ms.LoadMessageInfo() == nil {
200 ms.StoreMessageInfo(mi)
201 }
202 return ms
203 }
204 return mi.MessageOf(x)
205 }
206
207 // Deprecated: Use ListQueuesResponse.ProtoReflect.Descriptor instead.
208 func (*ListQueuesResponse) Descriptor() ([]byte, []int) {
209 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{1}
210 }
211
212 func (x *ListQueuesResponse) GetQueues() []*Queue {
213 if x != nil {
214 return x.Queues
215 }
216 return nil
217 }
218
219 func (x *ListQueuesResponse) GetNextPageToken() string {
220 if x != nil {
221 return x.NextPageToken
222 }
223 return ""
224 }
225
226 // Request message for
227 // [GetQueue][google.cloud.tasks.v2beta2.CloudTasks.GetQueue].
228 type GetQueueRequest struct {
229 state protoimpl.MessageState
230 sizeCache protoimpl.SizeCache
231 unknownFields protoimpl.UnknownFields
232
233 // Required. The resource name of the queue. For example:
234 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
235 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
236 // Optional. Read mask is used for a more granular control over what the API
237 // returns. If the mask is not present all fields will be returned except
238 // [Queue.stats]. [Queue.stats] will be returned only if it was explicitly
239 // specified in the mask.
240 ReadMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=read_mask,json=readMask,proto3" json:"read_mask,omitempty"`
241 }
242
243 func (x *GetQueueRequest) Reset() {
244 *x = GetQueueRequest{}
245 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[2]
246 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
247 ms.StoreMessageInfo(mi)
248 }
249
250 func (x *GetQueueRequest) String() string {
251 return protoimpl.X.MessageStringOf(x)
252 }
253
254 func (*GetQueueRequest) ProtoMessage() {}
255
256 func (x *GetQueueRequest) ProtoReflect() protoreflect.Message {
257 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[2]
258 if x != nil {
259 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
260 if ms.LoadMessageInfo() == nil {
261 ms.StoreMessageInfo(mi)
262 }
263 return ms
264 }
265 return mi.MessageOf(x)
266 }
267
268 // Deprecated: Use GetQueueRequest.ProtoReflect.Descriptor instead.
269 func (*GetQueueRequest) Descriptor() ([]byte, []int) {
270 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{2}
271 }
272
273 func (x *GetQueueRequest) GetName() string {
274 if x != nil {
275 return x.Name
276 }
277 return ""
278 }
279
280 func (x *GetQueueRequest) GetReadMask() *fieldmaskpb.FieldMask {
281 if x != nil {
282 return x.ReadMask
283 }
284 return nil
285 }
286
287 // Request message for
288 // [CreateQueue][google.cloud.tasks.v2beta2.CloudTasks.CreateQueue].
289 type CreateQueueRequest struct {
290 state protoimpl.MessageState
291 sizeCache protoimpl.SizeCache
292 unknownFields protoimpl.UnknownFields
293
294 // Required. The location name in which the queue will be created.
295 // For example: `projects/PROJECT_ID/locations/LOCATION_ID`
296 //
297 // The list of allowed locations can be obtained by calling Cloud
298 // Tasks' implementation of
299 // [ListLocations][google.cloud.location.Locations.ListLocations].
300 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
301 // Required. The queue to create.
302 //
303 // [Queue's name][google.cloud.tasks.v2beta2.Queue.name] cannot be the same as
304 // an existing queue.
305 Queue *Queue `protobuf:"bytes,2,opt,name=queue,proto3" json:"queue,omitempty"`
306 }
307
308 func (x *CreateQueueRequest) Reset() {
309 *x = CreateQueueRequest{}
310 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[3]
311 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
312 ms.StoreMessageInfo(mi)
313 }
314
315 func (x *CreateQueueRequest) String() string {
316 return protoimpl.X.MessageStringOf(x)
317 }
318
319 func (*CreateQueueRequest) ProtoMessage() {}
320
321 func (x *CreateQueueRequest) ProtoReflect() protoreflect.Message {
322 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[3]
323 if x != nil {
324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
325 if ms.LoadMessageInfo() == nil {
326 ms.StoreMessageInfo(mi)
327 }
328 return ms
329 }
330 return mi.MessageOf(x)
331 }
332
333 // Deprecated: Use CreateQueueRequest.ProtoReflect.Descriptor instead.
334 func (*CreateQueueRequest) Descriptor() ([]byte, []int) {
335 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{3}
336 }
337
338 func (x *CreateQueueRequest) GetParent() string {
339 if x != nil {
340 return x.Parent
341 }
342 return ""
343 }
344
345 func (x *CreateQueueRequest) GetQueue() *Queue {
346 if x != nil {
347 return x.Queue
348 }
349 return nil
350 }
351
352 // Request message for
353 // [UpdateQueue][google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue].
354 type UpdateQueueRequest struct {
355 state protoimpl.MessageState
356 sizeCache protoimpl.SizeCache
357 unknownFields protoimpl.UnknownFields
358
359 // Required. The queue to create or update.
360 //
361 // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] must be
362 // specified.
363 //
364 // Output only fields cannot be modified using UpdateQueue.
365 // Any value specified for an output only field will be ignored.
366 // The queue's [name][google.cloud.tasks.v2beta2.Queue.name] cannot be
367 // changed.
368 Queue *Queue `protobuf:"bytes,1,opt,name=queue,proto3" json:"queue,omitempty"`
369 // A mask used to specify which fields of the queue are being updated.
370 //
371 // If empty, then all fields will be updated.
372 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
373 }
374
375 func (x *UpdateQueueRequest) Reset() {
376 *x = UpdateQueueRequest{}
377 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[4]
378 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
379 ms.StoreMessageInfo(mi)
380 }
381
382 func (x *UpdateQueueRequest) String() string {
383 return protoimpl.X.MessageStringOf(x)
384 }
385
386 func (*UpdateQueueRequest) ProtoMessage() {}
387
388 func (x *UpdateQueueRequest) ProtoReflect() protoreflect.Message {
389 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[4]
390 if x != nil {
391 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
392 if ms.LoadMessageInfo() == nil {
393 ms.StoreMessageInfo(mi)
394 }
395 return ms
396 }
397 return mi.MessageOf(x)
398 }
399
400 // Deprecated: Use UpdateQueueRequest.ProtoReflect.Descriptor instead.
401 func (*UpdateQueueRequest) Descriptor() ([]byte, []int) {
402 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{4}
403 }
404
405 func (x *UpdateQueueRequest) GetQueue() *Queue {
406 if x != nil {
407 return x.Queue
408 }
409 return nil
410 }
411
412 func (x *UpdateQueueRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
413 if x != nil {
414 return x.UpdateMask
415 }
416 return nil
417 }
418
419 // Request message for
420 // [DeleteQueue][google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue].
421 type DeleteQueueRequest struct {
422 state protoimpl.MessageState
423 sizeCache protoimpl.SizeCache
424 unknownFields protoimpl.UnknownFields
425
426 // Required. The queue name. For example:
427 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
428 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
429 }
430
431 func (x *DeleteQueueRequest) Reset() {
432 *x = DeleteQueueRequest{}
433 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[5]
434 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
435 ms.StoreMessageInfo(mi)
436 }
437
438 func (x *DeleteQueueRequest) String() string {
439 return protoimpl.X.MessageStringOf(x)
440 }
441
442 func (*DeleteQueueRequest) ProtoMessage() {}
443
444 func (x *DeleteQueueRequest) ProtoReflect() protoreflect.Message {
445 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[5]
446 if x != nil {
447 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
448 if ms.LoadMessageInfo() == nil {
449 ms.StoreMessageInfo(mi)
450 }
451 return ms
452 }
453 return mi.MessageOf(x)
454 }
455
456 // Deprecated: Use DeleteQueueRequest.ProtoReflect.Descriptor instead.
457 func (*DeleteQueueRequest) Descriptor() ([]byte, []int) {
458 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{5}
459 }
460
461 func (x *DeleteQueueRequest) GetName() string {
462 if x != nil {
463 return x.Name
464 }
465 return ""
466 }
467
468 // Request message for
469 // [PurgeQueue][google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue].
470 type PurgeQueueRequest struct {
471 state protoimpl.MessageState
472 sizeCache protoimpl.SizeCache
473 unknownFields protoimpl.UnknownFields
474
475 // Required. The queue name. For example:
476 // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
477 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
478 }
479
480 func (x *PurgeQueueRequest) Reset() {
481 *x = PurgeQueueRequest{}
482 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[6]
483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
484 ms.StoreMessageInfo(mi)
485 }
486
487 func (x *PurgeQueueRequest) String() string {
488 return protoimpl.X.MessageStringOf(x)
489 }
490
491 func (*PurgeQueueRequest) ProtoMessage() {}
492
493 func (x *PurgeQueueRequest) ProtoReflect() protoreflect.Message {
494 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[6]
495 if x != nil {
496 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
497 if ms.LoadMessageInfo() == nil {
498 ms.StoreMessageInfo(mi)
499 }
500 return ms
501 }
502 return mi.MessageOf(x)
503 }
504
505 // Deprecated: Use PurgeQueueRequest.ProtoReflect.Descriptor instead.
506 func (*PurgeQueueRequest) Descriptor() ([]byte, []int) {
507 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{6}
508 }
509
510 func (x *PurgeQueueRequest) GetName() string {
511 if x != nil {
512 return x.Name
513 }
514 return ""
515 }
516
517 // Request message for
518 // [PauseQueue][google.cloud.tasks.v2beta2.CloudTasks.PauseQueue].
519 type PauseQueueRequest struct {
520 state protoimpl.MessageState
521 sizeCache protoimpl.SizeCache
522 unknownFields protoimpl.UnknownFields
523
524 // Required. The queue name. For example:
525 // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
526 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
527 }
528
529 func (x *PauseQueueRequest) Reset() {
530 *x = PauseQueueRequest{}
531 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[7]
532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
533 ms.StoreMessageInfo(mi)
534 }
535
536 func (x *PauseQueueRequest) String() string {
537 return protoimpl.X.MessageStringOf(x)
538 }
539
540 func (*PauseQueueRequest) ProtoMessage() {}
541
542 func (x *PauseQueueRequest) ProtoReflect() protoreflect.Message {
543 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[7]
544 if x != nil {
545 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
546 if ms.LoadMessageInfo() == nil {
547 ms.StoreMessageInfo(mi)
548 }
549 return ms
550 }
551 return mi.MessageOf(x)
552 }
553
554 // Deprecated: Use PauseQueueRequest.ProtoReflect.Descriptor instead.
555 func (*PauseQueueRequest) Descriptor() ([]byte, []int) {
556 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{7}
557 }
558
559 func (x *PauseQueueRequest) GetName() string {
560 if x != nil {
561 return x.Name
562 }
563 return ""
564 }
565
566 // Request message for
567 // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue].
568 type ResumeQueueRequest struct {
569 state protoimpl.MessageState
570 sizeCache protoimpl.SizeCache
571 unknownFields protoimpl.UnknownFields
572
573 // Required. The queue name. For example:
574 // `projects/PROJECT_ID/location/LOCATION_ID/queues/QUEUE_ID`
575 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
576 }
577
578 func (x *ResumeQueueRequest) Reset() {
579 *x = ResumeQueueRequest{}
580 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[8]
581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
582 ms.StoreMessageInfo(mi)
583 }
584
585 func (x *ResumeQueueRequest) String() string {
586 return protoimpl.X.MessageStringOf(x)
587 }
588
589 func (*ResumeQueueRequest) ProtoMessage() {}
590
591 func (x *ResumeQueueRequest) ProtoReflect() protoreflect.Message {
592 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[8]
593 if x != nil {
594 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
595 if ms.LoadMessageInfo() == nil {
596 ms.StoreMessageInfo(mi)
597 }
598 return ms
599 }
600 return mi.MessageOf(x)
601 }
602
603 // Deprecated: Use ResumeQueueRequest.ProtoReflect.Descriptor instead.
604 func (*ResumeQueueRequest) Descriptor() ([]byte, []int) {
605 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{8}
606 }
607
608 func (x *ResumeQueueRequest) GetName() string {
609 if x != nil {
610 return x.Name
611 }
612 return ""
613 }
614
615 // Request message for
616 // [UploadQueueYaml][google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml].
617 type UploadQueueYamlRequest struct {
618 state protoimpl.MessageState
619 sizeCache protoimpl.SizeCache
620 unknownFields protoimpl.UnknownFields
621
622 // Required. The App ID is supplied as an HTTP parameter. Unlike internal
623 // usage of App ID, it does not include a region prefix. Rather, the App ID
624 // represents the Project ID against which to make the request.
625 AppId string `protobuf:"bytes,1,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`
626 // The http body contains the queue.yaml file which used to update queue lists
627 HttpBody *httpbody.HttpBody `protobuf:"bytes,2,opt,name=http_body,json=httpBody,proto3,oneof" json:"http_body,omitempty"`
628 }
629
630 func (x *UploadQueueYamlRequest) Reset() {
631 *x = UploadQueueYamlRequest{}
632 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[9]
633 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
634 ms.StoreMessageInfo(mi)
635 }
636
637 func (x *UploadQueueYamlRequest) String() string {
638 return protoimpl.X.MessageStringOf(x)
639 }
640
641 func (*UploadQueueYamlRequest) ProtoMessage() {}
642
643 func (x *UploadQueueYamlRequest) ProtoReflect() protoreflect.Message {
644 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[9]
645 if x != nil {
646 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
647 if ms.LoadMessageInfo() == nil {
648 ms.StoreMessageInfo(mi)
649 }
650 return ms
651 }
652 return mi.MessageOf(x)
653 }
654
655 // Deprecated: Use UploadQueueYamlRequest.ProtoReflect.Descriptor instead.
656 func (*UploadQueueYamlRequest) Descriptor() ([]byte, []int) {
657 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{9}
658 }
659
660 func (x *UploadQueueYamlRequest) GetAppId() string {
661 if x != nil {
662 return x.AppId
663 }
664 return ""
665 }
666
667 func (x *UploadQueueYamlRequest) GetHttpBody() *httpbody.HttpBody {
668 if x != nil {
669 return x.HttpBody
670 }
671 return nil
672 }
673
674 // Request message for listing tasks using
675 // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
676 type ListTasksRequest struct {
677 state protoimpl.MessageState
678 sizeCache protoimpl.SizeCache
679 unknownFields protoimpl.UnknownFields
680
681 // Required. The queue name. For example:
682 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
683 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
684 // The response_view specifies which subset of the
685 // [Task][google.cloud.tasks.v2beta2.Task] will be returned.
686 //
687 // By default response_view is
688 // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is
689 // retrieved by default because some data, such as payloads, might be
690 // desirable to return only when needed because of its large size or because
691 // of the sensitivity of data that it contains.
692 //
693 // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
694 // requires `cloudtasks.tasks.fullView` [Google
695 // IAM](https://cloud.google.com/iam/) permission on the
696 // [Task][google.cloud.tasks.v2beta2.Task] resource.
697 ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"`
698 // Maximum page size.
699 //
700 // Fewer tasks than requested might be returned, even if more tasks exist; use
701 // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token]
702 // in the response to determine if more tasks exist.
703 //
704 // The maximum page size is 1000. If unspecified, the page size will be the
705 // maximum.
706 PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
707 // A token identifying the page of results to return.
708 //
709 // To request the first page results, page_token must be empty. To
710 // request the next page of results, page_token must be the value of
711 // [next_page_token][google.cloud.tasks.v2beta2.ListTasksResponse.next_page_token]
712 // returned from the previous call to
713 // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] method.
714 //
715 // The page token is valid for only 2 hours.
716 PageToken string `protobuf:"bytes,5,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
717 }
718
719 func (x *ListTasksRequest) Reset() {
720 *x = ListTasksRequest{}
721 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[10]
722 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
723 ms.StoreMessageInfo(mi)
724 }
725
726 func (x *ListTasksRequest) String() string {
727 return protoimpl.X.MessageStringOf(x)
728 }
729
730 func (*ListTasksRequest) ProtoMessage() {}
731
732 func (x *ListTasksRequest) ProtoReflect() protoreflect.Message {
733 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[10]
734 if x != nil {
735 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
736 if ms.LoadMessageInfo() == nil {
737 ms.StoreMessageInfo(mi)
738 }
739 return ms
740 }
741 return mi.MessageOf(x)
742 }
743
744 // Deprecated: Use ListTasksRequest.ProtoReflect.Descriptor instead.
745 func (*ListTasksRequest) Descriptor() ([]byte, []int) {
746 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{10}
747 }
748
749 func (x *ListTasksRequest) GetParent() string {
750 if x != nil {
751 return x.Parent
752 }
753 return ""
754 }
755
756 func (x *ListTasksRequest) GetResponseView() Task_View {
757 if x != nil {
758 return x.ResponseView
759 }
760 return Task_VIEW_UNSPECIFIED
761 }
762
763 func (x *ListTasksRequest) GetPageSize() int32 {
764 if x != nil {
765 return x.PageSize
766 }
767 return 0
768 }
769
770 func (x *ListTasksRequest) GetPageToken() string {
771 if x != nil {
772 return x.PageToken
773 }
774 return ""
775 }
776
777 // Response message for listing tasks using
778 // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
779 type ListTasksResponse struct {
780 state protoimpl.MessageState
781 sizeCache protoimpl.SizeCache
782 unknownFields protoimpl.UnknownFields
783
784 // The list of tasks.
785 Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
786 // A token to retrieve next page of results.
787 //
788 // To return the next page of results, call
789 // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks] with this
790 // value as the
791 // [page_token][google.cloud.tasks.v2beta2.ListTasksRequest.page_token].
792 //
793 // If the next_page_token is empty, there are no more results.
794 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
795 }
796
797 func (x *ListTasksResponse) Reset() {
798 *x = ListTasksResponse{}
799 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[11]
800 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
801 ms.StoreMessageInfo(mi)
802 }
803
804 func (x *ListTasksResponse) String() string {
805 return protoimpl.X.MessageStringOf(x)
806 }
807
808 func (*ListTasksResponse) ProtoMessage() {}
809
810 func (x *ListTasksResponse) ProtoReflect() protoreflect.Message {
811 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[11]
812 if x != nil {
813 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
814 if ms.LoadMessageInfo() == nil {
815 ms.StoreMessageInfo(mi)
816 }
817 return ms
818 }
819 return mi.MessageOf(x)
820 }
821
822 // Deprecated: Use ListTasksResponse.ProtoReflect.Descriptor instead.
823 func (*ListTasksResponse) Descriptor() ([]byte, []int) {
824 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{11}
825 }
826
827 func (x *ListTasksResponse) GetTasks() []*Task {
828 if x != nil {
829 return x.Tasks
830 }
831 return nil
832 }
833
834 func (x *ListTasksResponse) GetNextPageToken() string {
835 if x != nil {
836 return x.NextPageToken
837 }
838 return ""
839 }
840
841 // Request message for getting a task using
842 // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask].
843 type GetTaskRequest struct {
844 state protoimpl.MessageState
845 sizeCache protoimpl.SizeCache
846 unknownFields protoimpl.UnknownFields
847
848 // Required. The task name. For example:
849 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
850 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
851 // The response_view specifies which subset of the
852 // [Task][google.cloud.tasks.v2beta2.Task] will be returned.
853 //
854 // By default response_view is
855 // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is
856 // retrieved by default because some data, such as payloads, might be
857 // desirable to return only when needed because of its large size or because
858 // of the sensitivity of data that it contains.
859 //
860 // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
861 // requires `cloudtasks.tasks.fullView` [Google
862 // IAM](https://cloud.google.com/iam/) permission on the
863 // [Task][google.cloud.tasks.v2beta2.Task] resource.
864 ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"`
865 }
866
867 func (x *GetTaskRequest) Reset() {
868 *x = GetTaskRequest{}
869 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[12]
870 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
871 ms.StoreMessageInfo(mi)
872 }
873
874 func (x *GetTaskRequest) String() string {
875 return protoimpl.X.MessageStringOf(x)
876 }
877
878 func (*GetTaskRequest) ProtoMessage() {}
879
880 func (x *GetTaskRequest) ProtoReflect() protoreflect.Message {
881 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[12]
882 if x != nil {
883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
884 if ms.LoadMessageInfo() == nil {
885 ms.StoreMessageInfo(mi)
886 }
887 return ms
888 }
889 return mi.MessageOf(x)
890 }
891
892 // Deprecated: Use GetTaskRequest.ProtoReflect.Descriptor instead.
893 func (*GetTaskRequest) Descriptor() ([]byte, []int) {
894 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{12}
895 }
896
897 func (x *GetTaskRequest) GetName() string {
898 if x != nil {
899 return x.Name
900 }
901 return ""
902 }
903
904 func (x *GetTaskRequest) GetResponseView() Task_View {
905 if x != nil {
906 return x.ResponseView
907 }
908 return Task_VIEW_UNSPECIFIED
909 }
910
911 // Request message for
912 // [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask].
913 type CreateTaskRequest struct {
914 state protoimpl.MessageState
915 sizeCache protoimpl.SizeCache
916 unknownFields protoimpl.UnknownFields
917
918 // Required. The queue name. For example:
919 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
920 //
921 // The queue must already exist.
922 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
923 // Required. The task to add.
924 //
925 // Task names have the following format:
926 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`.
927 // The user can optionally specify a task
928 // [name][google.cloud.tasks.v2beta2.Task.name]. If a name is not specified
929 // then the system will generate a random unique task id, which will be set in
930 // the task returned in the [response][google.cloud.tasks.v2beta2.Task.name].
931 //
932 // If [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] is not
933 // set or is in the past then Cloud Tasks will set it to the current time.
934 //
935 // Task De-duplication:
936 //
937 // Explicitly specifying a task ID enables task de-duplication. If
938 // a task's ID is identical to that of an existing task or a task
939 // that was deleted or completed recently then the call will fail
940 // with [ALREADY_EXISTS][google.rpc.Code.ALREADY_EXISTS].
941 // If the task's queue was created using Cloud Tasks, then another task with
942 // the same name can't be created for ~1 hour after the original task was
943 // deleted or completed. If the task's queue was created using queue.yaml or
944 // queue.xml, then another task with the same name can't be created
945 // for ~9 days after the original task was deleted or completed.
946 //
947 // Because there is an extra lookup cost to identify duplicate task
948 // names, these [CreateTask][google.cloud.tasks.v2beta2.CloudTasks.CreateTask]
949 // calls have significantly increased latency. Using hashed strings for the
950 // task id or for the prefix of the task id is recommended. Choosing task ids
951 // that are sequential or have sequential prefixes, for example using a
952 // timestamp, causes an increase in latency and error rates in all
953 // task commands. The infrastructure relies on an approximately
954 // uniform distribution of task ids to store and serve tasks
955 // efficiently.
956 Task *Task `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
957 // The response_view specifies which subset of the
958 // [Task][google.cloud.tasks.v2beta2.Task] will be returned.
959 //
960 // By default response_view is
961 // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is
962 // retrieved by default because some data, such as payloads, might be
963 // desirable to return only when needed because of its large size or because
964 // of the sensitivity of data that it contains.
965 //
966 // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
967 // requires `cloudtasks.tasks.fullView` [Google
968 // IAM](https://cloud.google.com/iam/) permission on the
969 // [Task][google.cloud.tasks.v2beta2.Task] resource.
970 ResponseView Task_View `protobuf:"varint,3,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"`
971 }
972
973 func (x *CreateTaskRequest) Reset() {
974 *x = CreateTaskRequest{}
975 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[13]
976 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
977 ms.StoreMessageInfo(mi)
978 }
979
980 func (x *CreateTaskRequest) String() string {
981 return protoimpl.X.MessageStringOf(x)
982 }
983
984 func (*CreateTaskRequest) ProtoMessage() {}
985
986 func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message {
987 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[13]
988 if x != nil {
989 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
990 if ms.LoadMessageInfo() == nil {
991 ms.StoreMessageInfo(mi)
992 }
993 return ms
994 }
995 return mi.MessageOf(x)
996 }
997
998 // Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead.
999 func (*CreateTaskRequest) Descriptor() ([]byte, []int) {
1000 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{13}
1001 }
1002
1003 func (x *CreateTaskRequest) GetParent() string {
1004 if x != nil {
1005 return x.Parent
1006 }
1007 return ""
1008 }
1009
1010 func (x *CreateTaskRequest) GetTask() *Task {
1011 if x != nil {
1012 return x.Task
1013 }
1014 return nil
1015 }
1016
1017 func (x *CreateTaskRequest) GetResponseView() Task_View {
1018 if x != nil {
1019 return x.ResponseView
1020 }
1021 return Task_VIEW_UNSPECIFIED
1022 }
1023
1024 // Request message for deleting a task using
1025 // [DeleteTask][google.cloud.tasks.v2beta2.CloudTasks.DeleteTask].
1026 type DeleteTaskRequest struct {
1027 state protoimpl.MessageState
1028 sizeCache protoimpl.SizeCache
1029 unknownFields protoimpl.UnknownFields
1030
1031 // Required. The task name. For example:
1032 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
1033 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1034 }
1035
1036 func (x *DeleteTaskRequest) Reset() {
1037 *x = DeleteTaskRequest{}
1038 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[14]
1039 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1040 ms.StoreMessageInfo(mi)
1041 }
1042
1043 func (x *DeleteTaskRequest) String() string {
1044 return protoimpl.X.MessageStringOf(x)
1045 }
1046
1047 func (*DeleteTaskRequest) ProtoMessage() {}
1048
1049 func (x *DeleteTaskRequest) ProtoReflect() protoreflect.Message {
1050 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[14]
1051 if x != nil {
1052 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1053 if ms.LoadMessageInfo() == nil {
1054 ms.StoreMessageInfo(mi)
1055 }
1056 return ms
1057 }
1058 return mi.MessageOf(x)
1059 }
1060
1061 // Deprecated: Use DeleteTaskRequest.ProtoReflect.Descriptor instead.
1062 func (*DeleteTaskRequest) Descriptor() ([]byte, []int) {
1063 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{14}
1064 }
1065
1066 func (x *DeleteTaskRequest) GetName() string {
1067 if x != nil {
1068 return x.Name
1069 }
1070 return ""
1071 }
1072
1073 // Request message for leasing tasks using
1074 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
1075 type LeaseTasksRequest struct {
1076 state protoimpl.MessageState
1077 sizeCache protoimpl.SizeCache
1078 unknownFields protoimpl.UnknownFields
1079
1080 // Required. The queue name. For example:
1081 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID`
1082 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
1083 // The maximum number of tasks to lease.
1084 //
1085 // The system will make a best effort to return as close to as
1086 // `max_tasks` as possible.
1087 //
1088 // The largest that `max_tasks` can be is 1000.
1089 //
1090 // The maximum total size of a [lease tasks
1091 // response][google.cloud.tasks.v2beta2.LeaseTasksResponse] is 32 MB. If the
1092 // sum of all task sizes requested reaches this limit, fewer tasks than
1093 // requested are returned.
1094 MaxTasks int32 `protobuf:"varint,2,opt,name=max_tasks,json=maxTasks,proto3" json:"max_tasks,omitempty"`
1095 // Required. The duration of the lease.
1096 //
1097 // Each task returned in the
1098 // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will have its
1099 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] set to the
1100 // current time plus the `lease_duration`. The task is leased until its
1101 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]; thus, the
1102 // task will not be returned to another
1103 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call before
1104 // its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
1105 //
1106 // After the worker has successfully finished the work associated
1107 // with the task, the worker must call via
1108 // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
1109 // before the [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
1110 // Otherwise the task will be returned to a later
1111 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] call so that
1112 // another worker can retry it.
1113 //
1114 // The maximum lease duration is 1 week.
1115 // `lease_duration` will be truncated to the nearest second.
1116 LeaseDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"`
1117 // The response_view specifies which subset of the
1118 // [Task][google.cloud.tasks.v2beta2.Task] will be returned.
1119 //
1120 // By default response_view is
1121 // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is
1122 // retrieved by default because some data, such as payloads, might be
1123 // desirable to return only when needed because of its large size or because
1124 // of the sensitivity of data that it contains.
1125 //
1126 // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
1127 // requires `cloudtasks.tasks.fullView` [Google
1128 // IAM](https://cloud.google.com/iam/) permission on the
1129 // [Task][google.cloud.tasks.v2beta2.Task] resource.
1130 ResponseView Task_View `protobuf:"varint,4,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"`
1131 // `filter` can be used to specify a subset of tasks to lease.
1132 //
1133 // When `filter` is set to `tag=<my-tag>` then the
1134 // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse] will contain only
1135 // tasks whose [tag][google.cloud.tasks.v2beta2.PullMessage.tag] is equal to
1136 // `<my-tag>`. `<my-tag>` must be less than 500 characters.
1137 //
1138 // When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
1139 // the same tag as the task with the oldest
1140 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
1141 // returned.
1142 //
1143 // Grammar Syntax:
1144 //
1145 // * `filter = "tag=" tag | "tag_function=" function`
1146 //
1147 // * `tag = string`
1148 //
1149 // * `function = "oldest_tag()"`
1150 //
1151 // The `oldest_tag()` function returns tasks which have the same tag as the
1152 // oldest task (ordered by schedule time).
1153 //
1154 // SDK compatibility: Although the SDK allows tags to be either
1155 // string or
1156 // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
1157 // only UTF-8 encoded tags can be used in Cloud Tasks. Tag which
1158 // aren't UTF-8 encoded can't be used in the
1159 // [filter][google.cloud.tasks.v2beta2.LeaseTasksRequest.filter] and the
1160 // task's [tag][google.cloud.tasks.v2beta2.PullMessage.tag] will be displayed
1161 // as empty in Cloud Tasks.
1162 Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
1163 }
1164
1165 func (x *LeaseTasksRequest) Reset() {
1166 *x = LeaseTasksRequest{}
1167 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[15]
1168 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1169 ms.StoreMessageInfo(mi)
1170 }
1171
1172 func (x *LeaseTasksRequest) String() string {
1173 return protoimpl.X.MessageStringOf(x)
1174 }
1175
1176 func (*LeaseTasksRequest) ProtoMessage() {}
1177
1178 func (x *LeaseTasksRequest) ProtoReflect() protoreflect.Message {
1179 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[15]
1180 if x != nil {
1181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1182 if ms.LoadMessageInfo() == nil {
1183 ms.StoreMessageInfo(mi)
1184 }
1185 return ms
1186 }
1187 return mi.MessageOf(x)
1188 }
1189
1190 // Deprecated: Use LeaseTasksRequest.ProtoReflect.Descriptor instead.
1191 func (*LeaseTasksRequest) Descriptor() ([]byte, []int) {
1192 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{15}
1193 }
1194
1195 func (x *LeaseTasksRequest) GetParent() string {
1196 if x != nil {
1197 return x.Parent
1198 }
1199 return ""
1200 }
1201
1202 func (x *LeaseTasksRequest) GetMaxTasks() int32 {
1203 if x != nil {
1204 return x.MaxTasks
1205 }
1206 return 0
1207 }
1208
1209 func (x *LeaseTasksRequest) GetLeaseDuration() *durationpb.Duration {
1210 if x != nil {
1211 return x.LeaseDuration
1212 }
1213 return nil
1214 }
1215
1216 func (x *LeaseTasksRequest) GetResponseView() Task_View {
1217 if x != nil {
1218 return x.ResponseView
1219 }
1220 return Task_VIEW_UNSPECIFIED
1221 }
1222
1223 func (x *LeaseTasksRequest) GetFilter() string {
1224 if x != nil {
1225 return x.Filter
1226 }
1227 return ""
1228 }
1229
1230 // Response message for leasing tasks using
1231 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
1232 type LeaseTasksResponse struct {
1233 state protoimpl.MessageState
1234 sizeCache protoimpl.SizeCache
1235 unknownFields protoimpl.UnknownFields
1236
1237 // The leased tasks.
1238 Tasks []*Task `protobuf:"bytes,1,rep,name=tasks,proto3" json:"tasks,omitempty"`
1239 }
1240
1241 func (x *LeaseTasksResponse) Reset() {
1242 *x = LeaseTasksResponse{}
1243 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[16]
1244 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1245 ms.StoreMessageInfo(mi)
1246 }
1247
1248 func (x *LeaseTasksResponse) String() string {
1249 return protoimpl.X.MessageStringOf(x)
1250 }
1251
1252 func (*LeaseTasksResponse) ProtoMessage() {}
1253
1254 func (x *LeaseTasksResponse) ProtoReflect() protoreflect.Message {
1255 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[16]
1256 if x != nil {
1257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1258 if ms.LoadMessageInfo() == nil {
1259 ms.StoreMessageInfo(mi)
1260 }
1261 return ms
1262 }
1263 return mi.MessageOf(x)
1264 }
1265
1266 // Deprecated: Use LeaseTasksResponse.ProtoReflect.Descriptor instead.
1267 func (*LeaseTasksResponse) Descriptor() ([]byte, []int) {
1268 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{16}
1269 }
1270
1271 func (x *LeaseTasksResponse) GetTasks() []*Task {
1272 if x != nil {
1273 return x.Tasks
1274 }
1275 return nil
1276 }
1277
1278 // Request message for acknowledging a task using
1279 // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask].
1280 type AcknowledgeTaskRequest struct {
1281 state protoimpl.MessageState
1282 sizeCache protoimpl.SizeCache
1283 unknownFields protoimpl.UnknownFields
1284
1285 // Required. The task name. For example:
1286 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
1287 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1288 // Required. The task's current schedule time, available in the
1289 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
1290 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
1291 // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
1292 // This restriction is to ensure that your worker currently holds the lease.
1293 ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
1294 }
1295
1296 func (x *AcknowledgeTaskRequest) Reset() {
1297 *x = AcknowledgeTaskRequest{}
1298 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[17]
1299 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1300 ms.StoreMessageInfo(mi)
1301 }
1302
1303 func (x *AcknowledgeTaskRequest) String() string {
1304 return protoimpl.X.MessageStringOf(x)
1305 }
1306
1307 func (*AcknowledgeTaskRequest) ProtoMessage() {}
1308
1309 func (x *AcknowledgeTaskRequest) ProtoReflect() protoreflect.Message {
1310 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[17]
1311 if x != nil {
1312 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1313 if ms.LoadMessageInfo() == nil {
1314 ms.StoreMessageInfo(mi)
1315 }
1316 return ms
1317 }
1318 return mi.MessageOf(x)
1319 }
1320
1321 // Deprecated: Use AcknowledgeTaskRequest.ProtoReflect.Descriptor instead.
1322 func (*AcknowledgeTaskRequest) Descriptor() ([]byte, []int) {
1323 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{17}
1324 }
1325
1326 func (x *AcknowledgeTaskRequest) GetName() string {
1327 if x != nil {
1328 return x.Name
1329 }
1330 return ""
1331 }
1332
1333 func (x *AcknowledgeTaskRequest) GetScheduleTime() *timestamppb.Timestamp {
1334 if x != nil {
1335 return x.ScheduleTime
1336 }
1337 return nil
1338 }
1339
1340 // Request message for renewing a lease using
1341 // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease].
1342 type RenewLeaseRequest struct {
1343 state protoimpl.MessageState
1344 sizeCache protoimpl.SizeCache
1345 unknownFields protoimpl.UnknownFields
1346
1347 // Required. The task name. For example:
1348 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
1349 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1350 // Required. The task's current schedule time, available in the
1351 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
1352 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
1353 // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
1354 // This restriction is to ensure that your worker currently holds the lease.
1355 ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
1356 // Required. The desired new lease duration, starting from now.
1357 //
1358 // The maximum lease duration is 1 week.
1359 // `lease_duration` will be truncated to the nearest second.
1360 LeaseDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=lease_duration,json=leaseDuration,proto3" json:"lease_duration,omitempty"`
1361 // The response_view specifies which subset of the
1362 // [Task][google.cloud.tasks.v2beta2.Task] will be returned.
1363 //
1364 // By default response_view is
1365 // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is
1366 // retrieved by default because some data, such as payloads, might be
1367 // desirable to return only when needed because of its large size or because
1368 // of the sensitivity of data that it contains.
1369 //
1370 // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
1371 // requires `cloudtasks.tasks.fullView` [Google
1372 // IAM](https://cloud.google.com/iam/) permission on the
1373 // [Task][google.cloud.tasks.v2beta2.Task] resource.
1374 ResponseView Task_View `protobuf:"varint,4,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"`
1375 }
1376
1377 func (x *RenewLeaseRequest) Reset() {
1378 *x = RenewLeaseRequest{}
1379 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[18]
1380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1381 ms.StoreMessageInfo(mi)
1382 }
1383
1384 func (x *RenewLeaseRequest) String() string {
1385 return protoimpl.X.MessageStringOf(x)
1386 }
1387
1388 func (*RenewLeaseRequest) ProtoMessage() {}
1389
1390 func (x *RenewLeaseRequest) ProtoReflect() protoreflect.Message {
1391 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[18]
1392 if x != nil {
1393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1394 if ms.LoadMessageInfo() == nil {
1395 ms.StoreMessageInfo(mi)
1396 }
1397 return ms
1398 }
1399 return mi.MessageOf(x)
1400 }
1401
1402 // Deprecated: Use RenewLeaseRequest.ProtoReflect.Descriptor instead.
1403 func (*RenewLeaseRequest) Descriptor() ([]byte, []int) {
1404 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{18}
1405 }
1406
1407 func (x *RenewLeaseRequest) GetName() string {
1408 if x != nil {
1409 return x.Name
1410 }
1411 return ""
1412 }
1413
1414 func (x *RenewLeaseRequest) GetScheduleTime() *timestamppb.Timestamp {
1415 if x != nil {
1416 return x.ScheduleTime
1417 }
1418 return nil
1419 }
1420
1421 func (x *RenewLeaseRequest) GetLeaseDuration() *durationpb.Duration {
1422 if x != nil {
1423 return x.LeaseDuration
1424 }
1425 return nil
1426 }
1427
1428 func (x *RenewLeaseRequest) GetResponseView() Task_View {
1429 if x != nil {
1430 return x.ResponseView
1431 }
1432 return Task_VIEW_UNSPECIFIED
1433 }
1434
1435 // Request message for canceling a lease using
1436 // [CancelLease][google.cloud.tasks.v2beta2.CloudTasks.CancelLease].
1437 type CancelLeaseRequest struct {
1438 state protoimpl.MessageState
1439 sizeCache protoimpl.SizeCache
1440 unknownFields protoimpl.UnknownFields
1441
1442 // Required. The task name. For example:
1443 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
1444 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1445 // Required. The task's current schedule time, available in the
1446 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] returned by
1447 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] response or
1448 // [RenewLease][google.cloud.tasks.v2beta2.CloudTasks.RenewLease] response.
1449 // This restriction is to ensure that your worker currently holds the lease.
1450 ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"`
1451 // The response_view specifies which subset of the
1452 // [Task][google.cloud.tasks.v2beta2.Task] will be returned.
1453 //
1454 // By default response_view is
1455 // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is
1456 // retrieved by default because some data, such as payloads, might be
1457 // desirable to return only when needed because of its large size or because
1458 // of the sensitivity of data that it contains.
1459 //
1460 // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
1461 // requires `cloudtasks.tasks.fullView` [Google
1462 // IAM](https://cloud.google.com/iam/) permission on the
1463 // [Task][google.cloud.tasks.v2beta2.Task] resource.
1464 ResponseView Task_View `protobuf:"varint,3,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"`
1465 }
1466
1467 func (x *CancelLeaseRequest) Reset() {
1468 *x = CancelLeaseRequest{}
1469 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[19]
1470 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1471 ms.StoreMessageInfo(mi)
1472 }
1473
1474 func (x *CancelLeaseRequest) String() string {
1475 return protoimpl.X.MessageStringOf(x)
1476 }
1477
1478 func (*CancelLeaseRequest) ProtoMessage() {}
1479
1480 func (x *CancelLeaseRequest) ProtoReflect() protoreflect.Message {
1481 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[19]
1482 if x != nil {
1483 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1484 if ms.LoadMessageInfo() == nil {
1485 ms.StoreMessageInfo(mi)
1486 }
1487 return ms
1488 }
1489 return mi.MessageOf(x)
1490 }
1491
1492 // Deprecated: Use CancelLeaseRequest.ProtoReflect.Descriptor instead.
1493 func (*CancelLeaseRequest) Descriptor() ([]byte, []int) {
1494 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{19}
1495 }
1496
1497 func (x *CancelLeaseRequest) GetName() string {
1498 if x != nil {
1499 return x.Name
1500 }
1501 return ""
1502 }
1503
1504 func (x *CancelLeaseRequest) GetScheduleTime() *timestamppb.Timestamp {
1505 if x != nil {
1506 return x.ScheduleTime
1507 }
1508 return nil
1509 }
1510
1511 func (x *CancelLeaseRequest) GetResponseView() Task_View {
1512 if x != nil {
1513 return x.ResponseView
1514 }
1515 return Task_VIEW_UNSPECIFIED
1516 }
1517
1518 // Request message for forcing a task to run now using
1519 // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask].
1520 type RunTaskRequest struct {
1521 state protoimpl.MessageState
1522 sizeCache protoimpl.SizeCache
1523 unknownFields protoimpl.UnknownFields
1524
1525 // Required. The task name. For example:
1526 // `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID/tasks/TASK_ID`
1527 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
1528 // The response_view specifies which subset of the
1529 // [Task][google.cloud.tasks.v2beta2.Task] will be returned.
1530 //
1531 // By default response_view is
1532 // [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]; not all information is
1533 // retrieved by default because some data, such as payloads, might be
1534 // desirable to return only when needed because of its large size or because
1535 // of the sensitivity of data that it contains.
1536 //
1537 // Authorization for [FULL][google.cloud.tasks.v2beta2.Task.View.FULL]
1538 // requires `cloudtasks.tasks.fullView` [Google
1539 // IAM](https://cloud.google.com/iam/) permission on the
1540 // [Task][google.cloud.tasks.v2beta2.Task] resource.
1541 ResponseView Task_View `protobuf:"varint,2,opt,name=response_view,json=responseView,proto3,enum=google.cloud.tasks.v2beta2.Task_View" json:"response_view,omitempty"`
1542 }
1543
1544 func (x *RunTaskRequest) Reset() {
1545 *x = RunTaskRequest{}
1546 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[20]
1547 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1548 ms.StoreMessageInfo(mi)
1549 }
1550
1551 func (x *RunTaskRequest) String() string {
1552 return protoimpl.X.MessageStringOf(x)
1553 }
1554
1555 func (*RunTaskRequest) ProtoMessage() {}
1556
1557 func (x *RunTaskRequest) ProtoReflect() protoreflect.Message {
1558 mi := &file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[20]
1559 if x != nil {
1560 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1561 if ms.LoadMessageInfo() == nil {
1562 ms.StoreMessageInfo(mi)
1563 }
1564 return ms
1565 }
1566 return mi.MessageOf(x)
1567 }
1568
1569 // Deprecated: Use RunTaskRequest.ProtoReflect.Descriptor instead.
1570 func (*RunTaskRequest) Descriptor() ([]byte, []int) {
1571 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP(), []int{20}
1572 }
1573
1574 func (x *RunTaskRequest) GetName() string {
1575 if x != nil {
1576 return x.Name
1577 }
1578 return ""
1579 }
1580
1581 func (x *RunTaskRequest) GetResponseView() Task_View {
1582 if x != nil {
1583 return x.ResponseView
1584 }
1585 return Task_VIEW_UNSPECIFIED
1586 }
1587
1588 var File_google_cloud_tasks_v2beta2_cloudtasks_proto protoreflect.FileDescriptor
1589
1590 var file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDesc = []byte{
1591 0x0a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74,
1592 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x63, 0x6c, 0x6f,
1593 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67,
1594 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b,
1595 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1596 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1597 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
1598 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1599 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
1600 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1601 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x68, 0x74,
1602 0x74, 0x70, 0x62, 0x6f, 0x64, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f,
1603 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
1604 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
1605 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65,
1606 0x74, 0x61, 0x32, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1607 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74, 0x61,
1608 0x73, 0x6b, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x74, 0x61, 0x73, 0x6b,
1609 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69,
1610 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x69, 0x61, 0x6d, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79,
1611 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69,
1612 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f,
1613 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1614 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f,
1615 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1616 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
1617 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1618 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
1619 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1620 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f,
1621 0x74, 0x6f, 0x22, 0xe6, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x75, 0x65, 0x75, 0x65,
1622 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
1623 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21,
1624 0x12, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
1625 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x51, 0x75, 0x65, 0x75,
1626 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c,
1627 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,
1628 0x72, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03,
1629 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d,
1630 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x04, 0x20, 0x01,
1631 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x3c, 0x0a,
1632 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
1633 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
1634 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41,
1635 0x01, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x77, 0x0a, 0x12, 0x4c,
1636 0x69, 0x73, 0x74, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1637 0x65, 0x12, 0x39, 0x0a, 0x06, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
1638 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1639 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51,
1640 0x75, 0x65, 0x75, 0x65, 0x52, 0x06, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x12, 0x26, 0x0a, 0x0f,
1641 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
1642 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54,
1643 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x8c, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x75,
1644 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1645 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f,
1646 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1647 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52,
1648 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6d, 0x61,
1649 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1650 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64,
1651 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4d,
1652 0x61, 0x73, 0x6b, 0x22, 0x93, 0x01, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x51, 0x75,
1653 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3f, 0x0a, 0x06, 0x70, 0x61,
1654 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa,
1655 0x41, 0x21, 0x12, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67,
1656 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x51, 0x75,
1657 0x65, 0x75, 0x65, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3c, 0x0a, 0x05, 0x71,
1658 0x75, 0x65, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f,
1659 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e,
1660 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x42, 0x03, 0xe0,
1661 0x41, 0x02, 0x52, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x22, 0x8f, 0x01, 0x0a, 0x12, 0x55, 0x70,
1662 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1663 0x12, 0x3c, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
1664 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74,
1665 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51, 0x75, 0x65,
1666 0x75, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x12, 0x3b,
1667 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20,
1668 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
1669 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52,
1670 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x51, 0x0a, 0x12, 0x44,
1671 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1672 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
1673 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61,
1674 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
1675 0x6f, 0x6d, 0x2f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x50,
1676 0x0a, 0x11, 0x50, 0x75, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75,
1677 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1678 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1679 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
1680 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1681 0x22, 0x50, 0x0a, 0x11, 0x50, 0x61, 0x75, 0x73, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65,
1682 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20,
1683 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x63, 0x6c, 0x6f,
1684 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
1685 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x04, 0x6e, 0x61,
1686 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x12, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x75,
1687 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1688 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f,
1689 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1690 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52,
1691 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7a, 0x0a, 0x16, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x51,
1692 0x75, 0x65, 0x75, 0x65, 0x59, 0x61, 0x6d, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
1693 0x1a, 0x0a, 0x06, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
1694 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x36, 0x0a, 0x09, 0x68,
1695 0x74, 0x74, 0x70, 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14,
1696 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48, 0x74, 0x74, 0x70,
1697 0x42, 0x6f, 0x64, 0x79, 0x48, 0x00, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79,
1698 0x88, 0x01, 0x01, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x62, 0x6f, 0x64,
1699 0x79, 0x22, 0xda, 0x01, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52,
1700 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
1701 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x12, 0x1e,
1702 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1703 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x06,
1704 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1705 0x73, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1706 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73,
1707 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e,
1708 0x56, 0x69, 0x65, 0x77, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x69,
1709 0x65, 0x77, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18,
1710 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12,
1711 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20,
1712 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x73,
1713 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
1714 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03,
1715 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1716 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
1717 0x54, 0x61, 0x73, 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e,
1718 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02,
1719 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f,
1720 0x6b, 0x65, 0x6e, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x52,
1721 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01,
1722 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x63, 0x6c,
1723 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
1724 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6e, 0x61,
1725 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x76,
1726 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1727 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76,
1728 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x56, 0x69, 0x65, 0x77,
1729 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x69, 0x65, 0x77, 0x22, 0xda,
1730 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71,
1731 0x75, 0x65, 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01,
1732 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x12, 0x1e, 0x63, 0x6c,
1733 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
1734 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x06, 0x70, 0x61,
1735 0x72, 0x65, 0x6e, 0x74, 0x12, 0x39, 0x0a, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01,
1736 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1737 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
1738 0x54, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x61, 0x73, 0x6b, 0x12,
1739 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77,
1740 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1741 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65,
1742 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x0c, 0x72,
1743 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x69, 0x65, 0x77, 0x22, 0x4f, 0x0a, 0x11, 0x44,
1744 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
1745 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26,
1746 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73,
1747 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
1748 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x9b, 0x02, 0x0a,
1749 0x11, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
1750 0x73, 0x74, 0x12, 0x3e, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
1751 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x12, 0x1e, 0x63, 0x6c, 0x6f, 0x75,
1752 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
1753 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65,
1754 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x78, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18,
1755 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x6d, 0x61, 0x78, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12,
1756 0x45, 0x0a, 0x0e, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
1757 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1758 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69,
1759 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x44, 0x75,
1760 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1761 0x73, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e,
1762 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73,
1763 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e,
1764 0x56, 0x69, 0x65, 0x77, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x69,
1765 0x65, 0x77, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01,
1766 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x4c, 0x0a, 0x12, 0x4c, 0x65,
1767 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1768 0x12, 0x36, 0x0a, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
1769 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74,
1770 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73,
1771 0x6b, 0x52, 0x05, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x22, 0x9a, 0x01, 0x0a, 0x16, 0x41, 0x63, 0x6b,
1772 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75,
1773 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
1774 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1775 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
1776 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
1777 0x44, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65,
1778 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1779 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
1780 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
1781 0x65, 0x54, 0x69, 0x6d, 0x65, 0x22, 0xa8, 0x02, 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x4c,
1782 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e,
1783 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41,
1784 0x20, 0x0a, 0x1e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f,
1785 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73,
1786 0x6b, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64,
1787 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
1788 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
1789 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
1790 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x45, 0x0a,
1791 0x0e, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18,
1792 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
1793 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1794 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x44, 0x75, 0x72, 0x61,
1795 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1796 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f,
1797 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73,
1798 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x56, 0x69,
1799 0x65, 0x77, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x69, 0x65, 0x77,
1800 0x22, 0xe2, 0x01, 0x0a, 0x12, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x65, 0x61, 0x73, 0x65,
1801 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
1802 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e, 0x63,
1803 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1804 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04, 0x6e,
1805 0x61, 0x6d, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f,
1806 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
1807 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d,
1808 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0c, 0x73, 0x63, 0x68,
1809 0x65, 0x64, 0x75, 0x6c, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x73,
1810 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e,
1811 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1812 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61,
1813 0x73, 0x6b, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
1814 0x65, 0x56, 0x69, 0x65, 0x77, 0x22, 0x98, 0x01, 0x0a, 0x0e, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73,
1815 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
1816 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x26, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x20, 0x0a, 0x1e,
1817 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1818 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x04,
1819 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4a, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1820 0x5f, 0x76, 0x69, 0x65, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f,
1821 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73,
1822 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x2e, 0x56, 0x69,
1823 0x65, 0x77, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x56, 0x69, 0x65, 0x77,
1824 0x32, 0xb5, 0x1d, 0x0a, 0x0a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12,
1825 0xad, 0x01, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x12, 0x2d,
1826 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
1827 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74,
1828 0x51, 0x75, 0x65, 0x75, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2e, 0x2e,
1829 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73,
1830 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x51,
1831 0x75, 0x65, 0x75, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x40, 0xda,
1832 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f,
1833 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
1834 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61,
1835 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x12,
1836 0x9a, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2b, 0x2e, 0x67,
1837 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b,
1838 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x51, 0x75, 0x65,
1839 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1840 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76,
1841 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x22, 0x3e, 0xda, 0x41,
1842 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x12, 0x2f, 0x2f, 0x76, 0x32,
1843 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
1844 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1845 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xaf, 0x01, 0x0a,
1846 0x0b, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2e, 0x2e, 0x67,
1847 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b,
1848 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
1849 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67,
1850 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b,
1851 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x22,
1852 0x4d, 0xda, 0x41, 0x0c, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x71, 0x75, 0x65, 0x75, 0x65,
1853 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x3a, 0x05, 0x71, 0x75, 0x65, 0x75, 0x65, 0x22, 0x2f, 0x2f,
1854 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d,
1855 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
1856 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x12, 0xba,
1857 0x01, 0x0a, 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2e,
1858 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
1859 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x55, 0x70, 0x64, 0x61,
1860 0x74, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21,
1861 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
1862 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x75,
1863 0x65, 0x22, 0x58, 0xda, 0x41, 0x11, 0x71, 0x75, 0x65, 0x75, 0x65, 0x2c, 0x75, 0x70, 0x64, 0x61,
1864 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3e, 0x3a, 0x05, 0x71,
1865 0x75, 0x65, 0x75, 0x65, 0x32, 0x35, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b,
1866 0x71, 0x75, 0x65, 0x75, 0x65, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65,
1867 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
1868 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x95, 0x01, 0x0a, 0x0b,
1869 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2e, 0x2e, 0x67, 0x6f,
1870 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73,
1871 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x51,
1872 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
1873 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
1874 0x70, 0x74, 0x79, 0x22, 0x3e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
1875 0x02, 0x31, 0x2a, 0x2f, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61,
1876 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
1877 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73,
1878 0x2f, 0x2a, 0x7d, 0x12, 0xa7, 0x01, 0x0a, 0x0a, 0x50, 0x75, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65,
1879 0x75, 0x65, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1880 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
1881 0x50, 0x75, 0x72, 0x67, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1882 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
1883 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51,
1884 0x75, 0x65, 0x75, 0x65, 0x22, 0x47, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4,
1885 0x93, 0x02, 0x3a, 0x3a, 0x01, 0x2a, 0x22, 0x35, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32,
1886 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
1887 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75,
1888 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x75, 0x72, 0x67, 0x65, 0x12, 0xa7, 0x01,
1889 0x0a, 0x0a, 0x50, 0x61, 0x75, 0x73, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2d, 0x2e, 0x67,
1890 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b,
1891 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x51,
1892 0x75, 0x65, 0x75, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f,
1893 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73,
1894 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x22, 0x47,
1895 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3a, 0x3a, 0x01, 0x2a,
1896 0x22, 0x35, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
1897 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61,
1898 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a,
1899 0x7d, 0x3a, 0x70, 0x61, 0x75, 0x73, 0x65, 0x12, 0xaa, 0x01, 0x0a, 0x0b, 0x52, 0x65, 0x73, 0x75,
1900 0x6d, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1901 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62,
1902 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x51, 0x75, 0x65, 0x75, 0x65,
1903 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1904 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62,
1905 0x65, 0x74, 0x61, 0x32, 0x2e, 0x51, 0x75, 0x65, 0x75, 0x65, 0x22, 0x48, 0xda, 0x41, 0x04, 0x6e,
1906 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3b, 0x3a, 0x01, 0x2a, 0x22, 0x36, 0x2f, 0x76,
1907 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
1908 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1909 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65,
1910 0x73, 0x75, 0x6d, 0x65, 0x12, 0x5f, 0x0a, 0x0f, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x51, 0x75,
1911 0x65, 0x75, 0x65, 0x59, 0x61, 0x6d, 0x6c, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1912 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62,
1913 0x65, 0x74, 0x61, 0x32, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x51, 0x75, 0x65, 0x75, 0x65,
1914 0x59, 0x61, 0x6d, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
1915 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
1916 0x70, 0x74, 0x79, 0x22, 0x00, 0x12, 0xa1, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d,
1917 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1918 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c,
1919 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x67, 0x6f, 0x6f,
1920 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x69, 0x63,
1921 0x79, 0x22, 0x56, 0xda, 0x41, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x82, 0xd3,
1922 0xe4, 0x93, 0x02, 0x45, 0x3a, 0x01, 0x2a, 0x22, 0x40, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
1923 0x32, 0x2f, 0x7b, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
1924 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
1925 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x67, 0x65, 0x74,
1926 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0xa8, 0x01, 0x0a, 0x0c, 0x53, 0x65,
1927 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x22, 0x2e, 0x67, 0x6f, 0x6f,
1928 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x49, 0x61,
1929 0x6d, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15,
1930 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50,
1931 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x22, 0x5d, 0xda, 0x41, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
1932 0x63, 0x65, 0x2c, 0x70, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x45, 0x3a,
1933 0x01, 0x2a, 0x22, 0x40, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x72, 0x65,
1934 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
1935 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75,
1936 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x73, 0x65, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x6f,
1937 0x6c, 0x69, 0x63, 0x79, 0x12, 0xd3, 0x01, 0x0a, 0x12, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d,
1938 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x2e, 0x67, 0x6f,
1939 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74,
1940 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65,
1941 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69,
1942 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50, 0x65, 0x72,
1943 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
1944 0x22, 0x68, 0xda, 0x41, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2c, 0x70, 0x65,
1945 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x4b, 0x3a,
1946 0x01, 0x2a, 0x22, 0x46, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x72, 0x65,
1947 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f,
1948 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75,
1949 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x74, 0x65, 0x73, 0x74, 0x49, 0x61, 0x6d, 0x50,
1950 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0xb2, 0x01, 0x0a, 0x09, 0x4c,
1951 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x12, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1952 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32,
1953 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52,
1954 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1955 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65,
1956 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73,
1957 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x48, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74,
1958 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32,
1959 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1960 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
1961 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x12,
1962 0x9f, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2a, 0x2e, 0x67, 0x6f,
1963 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73,
1964 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x61, 0x73, 0x6b,
1965 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1966 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62,
1967 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x22, 0x46, 0xda, 0x41, 0x04, 0x6e, 0x61,
1968 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x12, 0x37, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74,
1969 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1970 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
1971 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a,
1972 0x7d, 0x12, 0xaf, 0x01, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b,
1973 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1974 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x72,
1975 0x65, 0x61, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
1976 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74,
1977 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73,
1978 0x6b, 0x22, 0x50, 0xda, 0x41, 0x0b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x74, 0x61, 0x73,
1979 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x3c, 0x3a, 0x01, 0x2a, 0x22, 0x37, 0x2f, 0x76, 0x32, 0x62,
1980 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f,
1981 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1982 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61,
1983 0x73, 0x6b, 0x73, 0x12, 0x9b, 0x01, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61,
1984 0x73, 0x6b, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1985 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e,
1986 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
1987 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
1988 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x46, 0xda, 0x41, 0x04, 0x6e, 0x61,
1989 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x2a, 0x37, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74,
1990 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
1991 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
1992 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a,
1993 0x7d, 0x12, 0xcd, 0x01, 0x0a, 0x0a, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73,
1994 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1995 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x65,
1996 0x61, 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
1997 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74,
1998 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x4c, 0x65, 0x61,
1999 0x73, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
2000 0x60, 0xda, 0x41, 0x15, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6c, 0x65, 0x61, 0x73, 0x65,
2001 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x42, 0x3a,
2002 0x01, 0x2a, 0x22, 0x3d, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x70, 0x61,
2003 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f,
2004 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75,
2005 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x3a, 0x6c, 0x65, 0x61, 0x73,
2006 0x65, 0x12, 0xc2, 0x01, 0x0a, 0x0f, 0x41, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67,
2007 0x65, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2008 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
2009 0x61, 0x32, 0x2e, 0x41, 0x63, 0x6b, 0x6e, 0x6f, 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x54, 0x61,
2010 0x73, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2011 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
2012 0x79, 0x22, 0x63, 0xda, 0x41, 0x12, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x73, 0x63, 0x68, 0x65, 0x64,
2013 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x3a, 0x01,
2014 0x2a, 0x22, 0x43, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
2015 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63,
2016 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f,
2017 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x61, 0x63, 0x6b, 0x6e, 0x6f,
2018 0x77, 0x6c, 0x65, 0x64, 0x67, 0x65, 0x12, 0xd0, 0x01, 0x0a, 0x0a, 0x52, 0x65, 0x6e, 0x65, 0x77,
2019 0x4c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
2020 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
2021 0x61, 0x32, 0x2e, 0x52, 0x65, 0x6e, 0x65, 0x77, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x65, 0x71,
2022 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
2023 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61,
2024 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x22, 0x71, 0xda, 0x41, 0x21, 0x6e, 0x61, 0x6d, 0x65, 0x2c,
2025 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x2c, 0x6c, 0x65,
2026 0x61, 0x73, 0x65, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x82, 0xd3, 0xe4, 0x93,
2027 0x02, 0x47, 0x3a, 0x01, 0x2a, 0x22, 0x42, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f,
2028 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a,
2029 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65,
2030 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72,
2031 0x65, 0x6e, 0x65, 0x77, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x12, 0xc4, 0x01, 0x0a, 0x0b, 0x43, 0x61,
2032 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x65, 0x61, 0x73, 0x65, 0x12, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2033 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76,
2034 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x43, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x65, 0x61,
2035 0x73, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2036 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76,
2037 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x22, 0x63, 0xda, 0x41, 0x12,
2038 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x74, 0x69,
2039 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x48, 0x3a, 0x01, 0x2a, 0x22, 0x43, 0x2f, 0x76, 0x32,
2040 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a,
2041 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
2042 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73, 0x6b,
2043 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x63, 0x61, 0x6e, 0x63, 0x65, 0x6c, 0x4c, 0x65, 0x61, 0x73, 0x65,
2044 0x12, 0xa6, 0x01, 0x0a, 0x07, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x2a, 0x2e, 0x67,
2045 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b,
2046 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x52, 0x75, 0x6e, 0x54, 0x61, 0x73,
2047 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2048 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32,
2049 0x62, 0x65, 0x74, 0x61, 0x32, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x22, 0x4d, 0xda, 0x41, 0x04, 0x6e,
2050 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x40, 0x3a, 0x01, 0x2a, 0x22, 0x3b, 0x2f, 0x76,
2051 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
2052 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
2053 0x73, 0x2f, 0x2a, 0x2f, 0x71, 0x75, 0x65, 0x75, 0x65, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x61, 0x73,
2054 0x6b, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x75, 0x6e, 0x1a, 0x4d, 0xca, 0x41, 0x19, 0x63, 0x6c,
2055 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
2056 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a,
2057 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
2058 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d,
2059 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0xd0, 0x01, 0xea, 0x41, 0x4d, 0x0a, 0x22,
2060 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2061 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
2062 0x6f, 0x6e, 0x12, 0x27, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72,
2063 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
2064 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x0a, 0x1e, 0x63, 0x6f, 0x6d,
2065 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
2066 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42, 0x0f, 0x43, 0x6c, 0x6f,
2067 0x75, 0x64, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43,
2068 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
2069 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x61,
2070 0x70, 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74,
2071 0x61, 0x73, 0x6b, 0x73, 0x70, 0x62, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b,
2072 0x73, 0x70, 0x62, 0xa2, 0x02, 0x05, 0x54, 0x41, 0x53, 0x4b, 0x53, 0x62, 0x06, 0x70, 0x72, 0x6f,
2073 0x74, 0x6f, 0x33,
2074 }
2075
2076 var (
2077 file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescOnce sync.Once
2078 file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescData = file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDesc
2079 )
2080
2081 func file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescGZIP() []byte {
2082 file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescOnce.Do(func() {
2083 file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescData)
2084 })
2085 return file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDescData
2086 }
2087
2088 var file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
2089 var file_google_cloud_tasks_v2beta2_cloudtasks_proto_goTypes = []any{
2090 (*ListQueuesRequest)(nil), // 0: google.cloud.tasks.v2beta2.ListQueuesRequest
2091 (*ListQueuesResponse)(nil), // 1: google.cloud.tasks.v2beta2.ListQueuesResponse
2092 (*GetQueueRequest)(nil), // 2: google.cloud.tasks.v2beta2.GetQueueRequest
2093 (*CreateQueueRequest)(nil), // 3: google.cloud.tasks.v2beta2.CreateQueueRequest
2094 (*UpdateQueueRequest)(nil), // 4: google.cloud.tasks.v2beta2.UpdateQueueRequest
2095 (*DeleteQueueRequest)(nil), // 5: google.cloud.tasks.v2beta2.DeleteQueueRequest
2096 (*PurgeQueueRequest)(nil), // 6: google.cloud.tasks.v2beta2.PurgeQueueRequest
2097 (*PauseQueueRequest)(nil), // 7: google.cloud.tasks.v2beta2.PauseQueueRequest
2098 (*ResumeQueueRequest)(nil), // 8: google.cloud.tasks.v2beta2.ResumeQueueRequest
2099 (*UploadQueueYamlRequest)(nil), // 9: google.cloud.tasks.v2beta2.UploadQueueYamlRequest
2100 (*ListTasksRequest)(nil), // 10: google.cloud.tasks.v2beta2.ListTasksRequest
2101 (*ListTasksResponse)(nil), // 11: google.cloud.tasks.v2beta2.ListTasksResponse
2102 (*GetTaskRequest)(nil), // 12: google.cloud.tasks.v2beta2.GetTaskRequest
2103 (*CreateTaskRequest)(nil), // 13: google.cloud.tasks.v2beta2.CreateTaskRequest
2104 (*DeleteTaskRequest)(nil), // 14: google.cloud.tasks.v2beta2.DeleteTaskRequest
2105 (*LeaseTasksRequest)(nil), // 15: google.cloud.tasks.v2beta2.LeaseTasksRequest
2106 (*LeaseTasksResponse)(nil), // 16: google.cloud.tasks.v2beta2.LeaseTasksResponse
2107 (*AcknowledgeTaskRequest)(nil), // 17: google.cloud.tasks.v2beta2.AcknowledgeTaskRequest
2108 (*RenewLeaseRequest)(nil), // 18: google.cloud.tasks.v2beta2.RenewLeaseRequest
2109 (*CancelLeaseRequest)(nil), // 19: google.cloud.tasks.v2beta2.CancelLeaseRequest
2110 (*RunTaskRequest)(nil), // 20: google.cloud.tasks.v2beta2.RunTaskRequest
2111 (*fieldmaskpb.FieldMask)(nil), // 21: google.protobuf.FieldMask
2112 (*Queue)(nil), // 22: google.cloud.tasks.v2beta2.Queue
2113 (*httpbody.HttpBody)(nil), // 23: google.api.HttpBody
2114 (Task_View)(0), // 24: google.cloud.tasks.v2beta2.Task.View
2115 (*Task)(nil), // 25: google.cloud.tasks.v2beta2.Task
2116 (*durationpb.Duration)(nil), // 26: google.protobuf.Duration
2117 (*timestamppb.Timestamp)(nil), // 27: google.protobuf.Timestamp
2118 (*iampb.GetIamPolicyRequest)(nil), // 28: google.iam.v1.GetIamPolicyRequest
2119 (*iampb.SetIamPolicyRequest)(nil), // 29: google.iam.v1.SetIamPolicyRequest
2120 (*iampb.TestIamPermissionsRequest)(nil), // 30: google.iam.v1.TestIamPermissionsRequest
2121 (*emptypb.Empty)(nil), // 31: google.protobuf.Empty
2122 (*iampb.Policy)(nil), // 32: google.iam.v1.Policy
2123 (*iampb.TestIamPermissionsResponse)(nil), // 33: google.iam.v1.TestIamPermissionsResponse
2124 }
2125 var file_google_cloud_tasks_v2beta2_cloudtasks_proto_depIdxs = []int32{
2126 21, // 0: google.cloud.tasks.v2beta2.ListQueuesRequest.read_mask:type_name -> google.protobuf.FieldMask
2127 22, // 1: google.cloud.tasks.v2beta2.ListQueuesResponse.queues:type_name -> google.cloud.tasks.v2beta2.Queue
2128 21, // 2: google.cloud.tasks.v2beta2.GetQueueRequest.read_mask:type_name -> google.protobuf.FieldMask
2129 22, // 3: google.cloud.tasks.v2beta2.CreateQueueRequest.queue:type_name -> google.cloud.tasks.v2beta2.Queue
2130 22, // 4: google.cloud.tasks.v2beta2.UpdateQueueRequest.queue:type_name -> google.cloud.tasks.v2beta2.Queue
2131 21, // 5: google.cloud.tasks.v2beta2.UpdateQueueRequest.update_mask:type_name -> google.protobuf.FieldMask
2132 23, // 6: google.cloud.tasks.v2beta2.UploadQueueYamlRequest.http_body:type_name -> google.api.HttpBody
2133 24, // 7: google.cloud.tasks.v2beta2.ListTasksRequest.response_view:type_name -> google.cloud.tasks.v2beta2.Task.View
2134 25, // 8: google.cloud.tasks.v2beta2.ListTasksResponse.tasks:type_name -> google.cloud.tasks.v2beta2.Task
2135 24, // 9: google.cloud.tasks.v2beta2.GetTaskRequest.response_view:type_name -> google.cloud.tasks.v2beta2.Task.View
2136 25, // 10: google.cloud.tasks.v2beta2.CreateTaskRequest.task:type_name -> google.cloud.tasks.v2beta2.Task
2137 24, // 11: google.cloud.tasks.v2beta2.CreateTaskRequest.response_view:type_name -> google.cloud.tasks.v2beta2.Task.View
2138 26, // 12: google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration:type_name -> google.protobuf.Duration
2139 24, // 13: google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view:type_name -> google.cloud.tasks.v2beta2.Task.View
2140 25, // 14: google.cloud.tasks.v2beta2.LeaseTasksResponse.tasks:type_name -> google.cloud.tasks.v2beta2.Task
2141 27, // 15: google.cloud.tasks.v2beta2.AcknowledgeTaskRequest.schedule_time:type_name -> google.protobuf.Timestamp
2142 27, // 16: google.cloud.tasks.v2beta2.RenewLeaseRequest.schedule_time:type_name -> google.protobuf.Timestamp
2143 26, // 17: google.cloud.tasks.v2beta2.RenewLeaseRequest.lease_duration:type_name -> google.protobuf.Duration
2144 24, // 18: google.cloud.tasks.v2beta2.RenewLeaseRequest.response_view:type_name -> google.cloud.tasks.v2beta2.Task.View
2145 27, // 19: google.cloud.tasks.v2beta2.CancelLeaseRequest.schedule_time:type_name -> google.protobuf.Timestamp
2146 24, // 20: google.cloud.tasks.v2beta2.CancelLeaseRequest.response_view:type_name -> google.cloud.tasks.v2beta2.Task.View
2147 24, // 21: google.cloud.tasks.v2beta2.RunTaskRequest.response_view:type_name -> google.cloud.tasks.v2beta2.Task.View
2148 0, // 22: google.cloud.tasks.v2beta2.CloudTasks.ListQueues:input_type -> google.cloud.tasks.v2beta2.ListQueuesRequest
2149 2, // 23: google.cloud.tasks.v2beta2.CloudTasks.GetQueue:input_type -> google.cloud.tasks.v2beta2.GetQueueRequest
2150 3, // 24: google.cloud.tasks.v2beta2.CloudTasks.CreateQueue:input_type -> google.cloud.tasks.v2beta2.CreateQueueRequest
2151 4, // 25: google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue:input_type -> google.cloud.tasks.v2beta2.UpdateQueueRequest
2152 5, // 26: google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue:input_type -> google.cloud.tasks.v2beta2.DeleteQueueRequest
2153 6, // 27: google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue:input_type -> google.cloud.tasks.v2beta2.PurgeQueueRequest
2154 7, // 28: google.cloud.tasks.v2beta2.CloudTasks.PauseQueue:input_type -> google.cloud.tasks.v2beta2.PauseQueueRequest
2155 8, // 29: google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue:input_type -> google.cloud.tasks.v2beta2.ResumeQueueRequest
2156 9, // 30: google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml:input_type -> google.cloud.tasks.v2beta2.UploadQueueYamlRequest
2157 28, // 31: google.cloud.tasks.v2beta2.CloudTasks.GetIamPolicy:input_type -> google.iam.v1.GetIamPolicyRequest
2158 29, // 32: google.cloud.tasks.v2beta2.CloudTasks.SetIamPolicy:input_type -> google.iam.v1.SetIamPolicyRequest
2159 30, // 33: google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissions:input_type -> google.iam.v1.TestIamPermissionsRequest
2160 10, // 34: google.cloud.tasks.v2beta2.CloudTasks.ListTasks:input_type -> google.cloud.tasks.v2beta2.ListTasksRequest
2161 12, // 35: google.cloud.tasks.v2beta2.CloudTasks.GetTask:input_type -> google.cloud.tasks.v2beta2.GetTaskRequest
2162 13, // 36: google.cloud.tasks.v2beta2.CloudTasks.CreateTask:input_type -> google.cloud.tasks.v2beta2.CreateTaskRequest
2163 14, // 37: google.cloud.tasks.v2beta2.CloudTasks.DeleteTask:input_type -> google.cloud.tasks.v2beta2.DeleteTaskRequest
2164 15, // 38: google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks:input_type -> google.cloud.tasks.v2beta2.LeaseTasksRequest
2165 17, // 39: google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask:input_type -> google.cloud.tasks.v2beta2.AcknowledgeTaskRequest
2166 18, // 40: google.cloud.tasks.v2beta2.CloudTasks.RenewLease:input_type -> google.cloud.tasks.v2beta2.RenewLeaseRequest
2167 19, // 41: google.cloud.tasks.v2beta2.CloudTasks.CancelLease:input_type -> google.cloud.tasks.v2beta2.CancelLeaseRequest
2168 20, // 42: google.cloud.tasks.v2beta2.CloudTasks.RunTask:input_type -> google.cloud.tasks.v2beta2.RunTaskRequest
2169 1, // 43: google.cloud.tasks.v2beta2.CloudTasks.ListQueues:output_type -> google.cloud.tasks.v2beta2.ListQueuesResponse
2170 22, // 44: google.cloud.tasks.v2beta2.CloudTasks.GetQueue:output_type -> google.cloud.tasks.v2beta2.Queue
2171 22, // 45: google.cloud.tasks.v2beta2.CloudTasks.CreateQueue:output_type -> google.cloud.tasks.v2beta2.Queue
2172 22, // 46: google.cloud.tasks.v2beta2.CloudTasks.UpdateQueue:output_type -> google.cloud.tasks.v2beta2.Queue
2173 31, // 47: google.cloud.tasks.v2beta2.CloudTasks.DeleteQueue:output_type -> google.protobuf.Empty
2174 22, // 48: google.cloud.tasks.v2beta2.CloudTasks.PurgeQueue:output_type -> google.cloud.tasks.v2beta2.Queue
2175 22, // 49: google.cloud.tasks.v2beta2.CloudTasks.PauseQueue:output_type -> google.cloud.tasks.v2beta2.Queue
2176 22, // 50: google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue:output_type -> google.cloud.tasks.v2beta2.Queue
2177 31, // 51: google.cloud.tasks.v2beta2.CloudTasks.UploadQueueYaml:output_type -> google.protobuf.Empty
2178 32, // 52: google.cloud.tasks.v2beta2.CloudTasks.GetIamPolicy:output_type -> google.iam.v1.Policy
2179 32, // 53: google.cloud.tasks.v2beta2.CloudTasks.SetIamPolicy:output_type -> google.iam.v1.Policy
2180 33, // 54: google.cloud.tasks.v2beta2.CloudTasks.TestIamPermissions:output_type -> google.iam.v1.TestIamPermissionsResponse
2181 11, // 55: google.cloud.tasks.v2beta2.CloudTasks.ListTasks:output_type -> google.cloud.tasks.v2beta2.ListTasksResponse
2182 25, // 56: google.cloud.tasks.v2beta2.CloudTasks.GetTask:output_type -> google.cloud.tasks.v2beta2.Task
2183 25, // 57: google.cloud.tasks.v2beta2.CloudTasks.CreateTask:output_type -> google.cloud.tasks.v2beta2.Task
2184 31, // 58: google.cloud.tasks.v2beta2.CloudTasks.DeleteTask:output_type -> google.protobuf.Empty
2185 16, // 59: google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks:output_type -> google.cloud.tasks.v2beta2.LeaseTasksResponse
2186 31, // 60: google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask:output_type -> google.protobuf.Empty
2187 25, // 61: google.cloud.tasks.v2beta2.CloudTasks.RenewLease:output_type -> google.cloud.tasks.v2beta2.Task
2188 25, // 62: google.cloud.tasks.v2beta2.CloudTasks.CancelLease:output_type -> google.cloud.tasks.v2beta2.Task
2189 25, // 63: google.cloud.tasks.v2beta2.CloudTasks.RunTask:output_type -> google.cloud.tasks.v2beta2.Task
2190 43, // [43:64] is the sub-list for method output_type
2191 22, // [22:43] is the sub-list for method input_type
2192 22, // [22:22] is the sub-list for extension type_name
2193 22, // [22:22] is the sub-list for extension extendee
2194 0, // [0:22] is the sub-list for field type_name
2195 }
2196
2197 func init() { file_google_cloud_tasks_v2beta2_cloudtasks_proto_init() }
2198 func file_google_cloud_tasks_v2beta2_cloudtasks_proto_init() {
2199 if File_google_cloud_tasks_v2beta2_cloudtasks_proto != nil {
2200 return
2201 }
2202 file_google_cloud_tasks_v2beta2_queue_proto_init()
2203 file_google_cloud_tasks_v2beta2_task_proto_init()
2204 file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes[9].OneofWrappers = []any{}
2205 type x struct{}
2206 out := protoimpl.TypeBuilder{
2207 File: protoimpl.DescBuilder{
2208 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2209 RawDescriptor: file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDesc,
2210 NumEnums: 0,
2211 NumMessages: 21,
2212 NumExtensions: 0,
2213 NumServices: 1,
2214 },
2215 GoTypes: file_google_cloud_tasks_v2beta2_cloudtasks_proto_goTypes,
2216 DependencyIndexes: file_google_cloud_tasks_v2beta2_cloudtasks_proto_depIdxs,
2217 MessageInfos: file_google_cloud_tasks_v2beta2_cloudtasks_proto_msgTypes,
2218 }.Build()
2219 File_google_cloud_tasks_v2beta2_cloudtasks_proto = out.File
2220 file_google_cloud_tasks_v2beta2_cloudtasks_proto_rawDesc = nil
2221 file_google_cloud_tasks_v2beta2_cloudtasks_proto_goTypes = nil
2222 file_google_cloud_tasks_v2beta2_cloudtasks_proto_depIdxs = nil
2223 }
2224
2225 // Reference imports to suppress errors if they are not otherwise used.
2226 var _ context.Context
2227 var _ grpc.ClientConnInterface
2228
2229 // This is a compile-time assertion to ensure that this generated file
2230 // is compatible with the grpc package it is being compiled against.
2231 const _ = grpc.SupportPackageIsVersion6
2232
2233 // CloudTasksClient is the client API for CloudTasks service.
2234 //
2235 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2236 type CloudTasksClient interface {
2237 // Lists queues.
2238 //
2239 // Queues are returned in lexicographical order.
2240 ListQueues(ctx context.Context, in *ListQueuesRequest, opts ...grpc.CallOption) (*ListQueuesResponse, error)
2241 // Gets a queue.
2242 GetQueue(ctx context.Context, in *GetQueueRequest, opts ...grpc.CallOption) (*Queue, error)
2243 // Creates a queue.
2244 //
2245 // Queues created with this method allow tasks to live for a maximum of 31
2246 // days. After a task is 31 days old, the task will be deleted regardless of
2247 // whether it was dispatched or not.
2248 //
2249 // WARNING: Using this method may have unintended side effects if you are
2250 // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
2251 // Read
2252 // [Overview of Queue Management and
2253 // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
2254 // this method.
2255 CreateQueue(ctx context.Context, in *CreateQueueRequest, opts ...grpc.CallOption) (*Queue, error)
2256 // Updates a queue.
2257 //
2258 // This method creates the queue if it does not exist and updates
2259 // the queue if it does exist.
2260 //
2261 // Queues created with this method allow tasks to live for a maximum of 31
2262 // days. After a task is 31 days old, the task will be deleted regardless of
2263 // whether it was dispatched or not.
2264 //
2265 // WARNING: Using this method may have unintended side effects if you are
2266 // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
2267 // Read
2268 // [Overview of Queue Management and
2269 // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
2270 // this method.
2271 UpdateQueue(ctx context.Context, in *UpdateQueueRequest, opts ...grpc.CallOption) (*Queue, error)
2272 // Deletes a queue.
2273 //
2274 // This command will delete the queue even if it has tasks in it.
2275 //
2276 // Note: If you delete a queue, a queue with the same name can't be created
2277 // for 7 days.
2278 //
2279 // WARNING: Using this method may have unintended side effects if you are
2280 // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
2281 // Read
2282 // [Overview of Queue Management and
2283 // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
2284 // this method.
2285 DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
2286 // Purges a queue by deleting all of its tasks.
2287 //
2288 // All tasks created before this method is called are permanently deleted.
2289 //
2290 // Purge operations can take up to one minute to take effect. Tasks
2291 // might be dispatched before the purge takes effect. A purge is irreversible.
2292 PurgeQueue(ctx context.Context, in *PurgeQueueRequest, opts ...grpc.CallOption) (*Queue, error)
2293 // Pauses the queue.
2294 //
2295 // If a queue is paused then the system will stop dispatching tasks
2296 // until the queue is resumed via
2297 // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can
2298 // still be added when the queue is paused. A queue is paused if its
2299 // [state][google.cloud.tasks.v2beta2.Queue.state] is
2300 // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
2301 PauseQueue(ctx context.Context, in *PauseQueueRequest, opts ...grpc.CallOption) (*Queue, error)
2302 // Resume a queue.
2303 //
2304 // This method resumes a queue after it has been
2305 // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or
2306 // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a
2307 // queue is stored in the queue's
2308 // [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method
2309 // it will be set to
2310 // [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING].
2311 //
2312 // WARNING: Resuming many high-QPS queues at the same time can
2313 // lead to target overloading. If you are resuming high-QPS
2314 // queues, follow the 500/50/5 pattern described in
2315 // [Managing Cloud Tasks Scaling
2316 // Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
2317 ResumeQueue(ctx context.Context, in *ResumeQueueRequest, opts ...grpc.CallOption) (*Queue, error)
2318 // Update queue list by uploading a queue.yaml file.
2319 //
2320 // The queue.yaml file is supplied in the request body as a YAML encoded
2321 // string. This method was added to support gcloud clients versions before
2322 // 322.0.0. New clients should use CreateQueue instead of this method.
2323 UploadQueueYaml(ctx context.Context, in *UploadQueueYamlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
2324 // Gets the access control policy for a
2325 // [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an empty policy if the
2326 // resource exists and does not have a policy set.
2327 //
2328 // Authorization requires the following
2329 // [Google IAM](https://cloud.google.com/iam) permission on the specified
2330 // resource parent:
2331 //
2332 // * `cloudtasks.queues.getIamPolicy`
2333 GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
2334 // Sets the access control policy for a
2335 // [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy.
2336 //
2337 // Note: The Cloud Console does not check queue-level IAM permissions yet.
2338 // Project-level permissions are required to use the Cloud Console.
2339 //
2340 // Authorization requires the following
2341 // [Google IAM](https://cloud.google.com/iam) permission on the specified
2342 // resource parent:
2343 //
2344 // * `cloudtasks.queues.setIamPolicy`
2345 SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error)
2346 // Returns permissions that a caller has on a
2347 // [Queue][google.cloud.tasks.v2beta2.Queue]. If the resource does not exist,
2348 // this will return an empty set of permissions, not a
2349 // [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
2350 //
2351 // Note: This operation is designed to be used for building permission-aware
2352 // UIs and command-line tools, not for authorization checking. This operation
2353 // may "fail open" without warning.
2354 TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error)
2355 // Lists the tasks in a queue.
2356 //
2357 // By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]
2358 // view is retrieved due to performance considerations;
2359 // [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view]
2360 // controls the subset of information which is returned.
2361 //
2362 // The tasks may be returned in any order. The ordering may change at any
2363 // time.
2364 ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error)
2365 // Gets a task.
2366 GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error)
2367 // Creates a task and adds it to a queue.
2368 //
2369 // Tasks cannot be updated after creation; there is no UpdateTask command.
2370 //
2371 // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget],
2372 // the maximum task size is
2373 //
2374 // 100KB.
2375 //
2376 // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum
2377 // task size is 1MB.
2378 CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*Task, error)
2379 // Deletes a task.
2380 //
2381 // A task can be deleted if it is scheduled or dispatched. A task
2382 // cannot be deleted if it has completed successfully or permanently
2383 // failed.
2384 DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
2385 // Leases tasks from a pull queue for
2386 // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
2387 //
2388 // This method is invoked by the worker to obtain a lease. The
2389 // worker must acknowledge the task via
2390 // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
2391 // after they have performed the work associated with the task.
2392 //
2393 // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended
2394 // to store data that the worker needs to perform the work associated with the
2395 // task. To return the payloads in the
2396 // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set
2397 // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view]
2398 // to [FULL][google.cloud.tasks.v2beta2.Task.View.FULL].
2399 //
2400 // A maximum of 10 qps of
2401 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are
2402 // allowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
2403 // is returned when this limit is
2404 // exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
2405 // is also returned when
2406 // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second]
2407 // is exceeded.
2408 LeaseTasks(ctx context.Context, in *LeaseTasksRequest, opts ...grpc.CallOption) (*LeaseTasksResponse, error)
2409 // Acknowledges a pull task.
2410 //
2411 // The worker, that is, the entity that
2412 // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must
2413 // call this method to indicate that the work associated with the task has
2414 // finished.
2415 //
2416 // The worker must acknowledge a task within the
2417 // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]
2418 // or the lease will expire and the task will become available to be leased
2419 // again. After the task is acknowledged, it will not be returned
2420 // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks],
2421 // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or
2422 // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
2423 AcknowledgeTask(ctx context.Context, in *AcknowledgeTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
2424 // Renew the current lease of a pull task.
2425 //
2426 // The worker can use this method to extend the lease by a new
2427 // duration, starting from now. The new task lease will be
2428 // returned in the task's
2429 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
2430 RenewLease(ctx context.Context, in *RenewLeaseRequest, opts ...grpc.CallOption) (*Task, error)
2431 // Cancel a pull task's lease.
2432 //
2433 // The worker can use this method to cancel a task's lease by
2434 // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]
2435 // to now. This will make the task available to be leased to the next caller
2436 // of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
2437 CancelLease(ctx context.Context, in *CancelLeaseRequest, opts ...grpc.CallOption) (*Task, error)
2438 // Forces a task to run now.
2439 //
2440 // When this method is called, Cloud Tasks will dispatch the task, even if
2441 // the task is already running, the queue has reached its
2442 // [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or is
2443 // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
2444 //
2445 // This command is meant to be used for manual debugging. For
2446 // example, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] can be
2447 // used to retry a failed task after a fix has been made or to manually force
2448 // a task to be dispatched now.
2449 //
2450 // The dispatched task is returned. That is, the task that is returned
2451 // contains the [status][google.cloud.tasks.v2beta2.Task.status] after the
2452 // task is dispatched but before the task is received by its target.
2453 //
2454 // If Cloud Tasks receives a successful response from the task's
2455 // target, then the task will be deleted; otherwise the task's
2456 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
2457 // reset to the time that
2458 // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus
2459 // the retry delay specified in the queue's
2460 // [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
2461 //
2462 // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns
2463 // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
2464 // task that has already succeeded or permanently failed.
2465 //
2466 // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called
2467 // on a [pull task][google.cloud.tasks.v2beta2.PullMessage].
2468 RunTask(ctx context.Context, in *RunTaskRequest, opts ...grpc.CallOption) (*Task, error)
2469 }
2470
2471 type cloudTasksClient struct {
2472 cc grpc.ClientConnInterface
2473 }
2474
2475 func NewCloudTasksClient(cc grpc.ClientConnInterface) CloudTasksClient {
2476 return &cloudTasksClient{cc}
2477 }
2478
2479 func (c *cloudTasksClient) ListQueues(ctx context.Context, in *ListQueuesRequest, opts ...grpc.CallOption) (*ListQueuesResponse, error) {
2480 out := new(ListQueuesResponse)
2481 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/ListQueues", in, out, opts...)
2482 if err != nil {
2483 return nil, err
2484 }
2485 return out, nil
2486 }
2487
2488 func (c *cloudTasksClient) GetQueue(ctx context.Context, in *GetQueueRequest, opts ...grpc.CallOption) (*Queue, error) {
2489 out := new(Queue)
2490 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/GetQueue", in, out, opts...)
2491 if err != nil {
2492 return nil, err
2493 }
2494 return out, nil
2495 }
2496
2497 func (c *cloudTasksClient) CreateQueue(ctx context.Context, in *CreateQueueRequest, opts ...grpc.CallOption) (*Queue, error) {
2498 out := new(Queue)
2499 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/CreateQueue", in, out, opts...)
2500 if err != nil {
2501 return nil, err
2502 }
2503 return out, nil
2504 }
2505
2506 func (c *cloudTasksClient) UpdateQueue(ctx context.Context, in *UpdateQueueRequest, opts ...grpc.CallOption) (*Queue, error) {
2507 out := new(Queue)
2508 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/UpdateQueue", in, out, opts...)
2509 if err != nil {
2510 return nil, err
2511 }
2512 return out, nil
2513 }
2514
2515 func (c *cloudTasksClient) DeleteQueue(ctx context.Context, in *DeleteQueueRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
2516 out := new(emptypb.Empty)
2517 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/DeleteQueue", in, out, opts...)
2518 if err != nil {
2519 return nil, err
2520 }
2521 return out, nil
2522 }
2523
2524 func (c *cloudTasksClient) PurgeQueue(ctx context.Context, in *PurgeQueueRequest, opts ...grpc.CallOption) (*Queue, error) {
2525 out := new(Queue)
2526 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/PurgeQueue", in, out, opts...)
2527 if err != nil {
2528 return nil, err
2529 }
2530 return out, nil
2531 }
2532
2533 func (c *cloudTasksClient) PauseQueue(ctx context.Context, in *PauseQueueRequest, opts ...grpc.CallOption) (*Queue, error) {
2534 out := new(Queue)
2535 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/PauseQueue", in, out, opts...)
2536 if err != nil {
2537 return nil, err
2538 }
2539 return out, nil
2540 }
2541
2542 func (c *cloudTasksClient) ResumeQueue(ctx context.Context, in *ResumeQueueRequest, opts ...grpc.CallOption) (*Queue, error) {
2543 out := new(Queue)
2544 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/ResumeQueue", in, out, opts...)
2545 if err != nil {
2546 return nil, err
2547 }
2548 return out, nil
2549 }
2550
2551 func (c *cloudTasksClient) UploadQueueYaml(ctx context.Context, in *UploadQueueYamlRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
2552 out := new(emptypb.Empty)
2553 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/UploadQueueYaml", in, out, opts...)
2554 if err != nil {
2555 return nil, err
2556 }
2557 return out, nil
2558 }
2559
2560 func (c *cloudTasksClient) GetIamPolicy(ctx context.Context, in *iampb.GetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
2561 out := new(iampb.Policy)
2562 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/GetIamPolicy", in, out, opts...)
2563 if err != nil {
2564 return nil, err
2565 }
2566 return out, nil
2567 }
2568
2569 func (c *cloudTasksClient) SetIamPolicy(ctx context.Context, in *iampb.SetIamPolicyRequest, opts ...grpc.CallOption) (*iampb.Policy, error) {
2570 out := new(iampb.Policy)
2571 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/SetIamPolicy", in, out, opts...)
2572 if err != nil {
2573 return nil, err
2574 }
2575 return out, nil
2576 }
2577
2578 func (c *cloudTasksClient) TestIamPermissions(ctx context.Context, in *iampb.TestIamPermissionsRequest, opts ...grpc.CallOption) (*iampb.TestIamPermissionsResponse, error) {
2579 out := new(iampb.TestIamPermissionsResponse)
2580 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/TestIamPermissions", in, out, opts...)
2581 if err != nil {
2582 return nil, err
2583 }
2584 return out, nil
2585 }
2586
2587 func (c *cloudTasksClient) ListTasks(ctx context.Context, in *ListTasksRequest, opts ...grpc.CallOption) (*ListTasksResponse, error) {
2588 out := new(ListTasksResponse)
2589 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/ListTasks", in, out, opts...)
2590 if err != nil {
2591 return nil, err
2592 }
2593 return out, nil
2594 }
2595
2596 func (c *cloudTasksClient) GetTask(ctx context.Context, in *GetTaskRequest, opts ...grpc.CallOption) (*Task, error) {
2597 out := new(Task)
2598 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/GetTask", in, out, opts...)
2599 if err != nil {
2600 return nil, err
2601 }
2602 return out, nil
2603 }
2604
2605 func (c *cloudTasksClient) CreateTask(ctx context.Context, in *CreateTaskRequest, opts ...grpc.CallOption) (*Task, error) {
2606 out := new(Task)
2607 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/CreateTask", in, out, opts...)
2608 if err != nil {
2609 return nil, err
2610 }
2611 return out, nil
2612 }
2613
2614 func (c *cloudTasksClient) DeleteTask(ctx context.Context, in *DeleteTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
2615 out := new(emptypb.Empty)
2616 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/DeleteTask", in, out, opts...)
2617 if err != nil {
2618 return nil, err
2619 }
2620 return out, nil
2621 }
2622
2623 func (c *cloudTasksClient) LeaseTasks(ctx context.Context, in *LeaseTasksRequest, opts ...grpc.CallOption) (*LeaseTasksResponse, error) {
2624 out := new(LeaseTasksResponse)
2625 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/LeaseTasks", in, out, opts...)
2626 if err != nil {
2627 return nil, err
2628 }
2629 return out, nil
2630 }
2631
2632 func (c *cloudTasksClient) AcknowledgeTask(ctx context.Context, in *AcknowledgeTaskRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
2633 out := new(emptypb.Empty)
2634 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/AcknowledgeTask", in, out, opts...)
2635 if err != nil {
2636 return nil, err
2637 }
2638 return out, nil
2639 }
2640
2641 func (c *cloudTasksClient) RenewLease(ctx context.Context, in *RenewLeaseRequest, opts ...grpc.CallOption) (*Task, error) {
2642 out := new(Task)
2643 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/RenewLease", in, out, opts...)
2644 if err != nil {
2645 return nil, err
2646 }
2647 return out, nil
2648 }
2649
2650 func (c *cloudTasksClient) CancelLease(ctx context.Context, in *CancelLeaseRequest, opts ...grpc.CallOption) (*Task, error) {
2651 out := new(Task)
2652 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/CancelLease", in, out, opts...)
2653 if err != nil {
2654 return nil, err
2655 }
2656 return out, nil
2657 }
2658
2659 func (c *cloudTasksClient) RunTask(ctx context.Context, in *RunTaskRequest, opts ...grpc.CallOption) (*Task, error) {
2660 out := new(Task)
2661 err := c.cc.Invoke(ctx, "/google.cloud.tasks.v2beta2.CloudTasks/RunTask", in, out, opts...)
2662 if err != nil {
2663 return nil, err
2664 }
2665 return out, nil
2666 }
2667
2668 // CloudTasksServer is the server API for CloudTasks service.
2669 type CloudTasksServer interface {
2670 // Lists queues.
2671 //
2672 // Queues are returned in lexicographical order.
2673 ListQueues(context.Context, *ListQueuesRequest) (*ListQueuesResponse, error)
2674 // Gets a queue.
2675 GetQueue(context.Context, *GetQueueRequest) (*Queue, error)
2676 // Creates a queue.
2677 //
2678 // Queues created with this method allow tasks to live for a maximum of 31
2679 // days. After a task is 31 days old, the task will be deleted regardless of
2680 // whether it was dispatched or not.
2681 //
2682 // WARNING: Using this method may have unintended side effects if you are
2683 // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
2684 // Read
2685 // [Overview of Queue Management and
2686 // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
2687 // this method.
2688 CreateQueue(context.Context, *CreateQueueRequest) (*Queue, error)
2689 // Updates a queue.
2690 //
2691 // This method creates the queue if it does not exist and updates
2692 // the queue if it does exist.
2693 //
2694 // Queues created with this method allow tasks to live for a maximum of 31
2695 // days. After a task is 31 days old, the task will be deleted regardless of
2696 // whether it was dispatched or not.
2697 //
2698 // WARNING: Using this method may have unintended side effects if you are
2699 // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
2700 // Read
2701 // [Overview of Queue Management and
2702 // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
2703 // this method.
2704 UpdateQueue(context.Context, *UpdateQueueRequest) (*Queue, error)
2705 // Deletes a queue.
2706 //
2707 // This command will delete the queue even if it has tasks in it.
2708 //
2709 // Note: If you delete a queue, a queue with the same name can't be created
2710 // for 7 days.
2711 //
2712 // WARNING: Using this method may have unintended side effects if you are
2713 // using an App Engine `queue.yaml` or `queue.xml` file to manage your queues.
2714 // Read
2715 // [Overview of Queue Management and
2716 // queue.yaml](https://cloud.google.com/tasks/docs/queue-yaml) before using
2717 // this method.
2718 DeleteQueue(context.Context, *DeleteQueueRequest) (*emptypb.Empty, error)
2719 // Purges a queue by deleting all of its tasks.
2720 //
2721 // All tasks created before this method is called are permanently deleted.
2722 //
2723 // Purge operations can take up to one minute to take effect. Tasks
2724 // might be dispatched before the purge takes effect. A purge is irreversible.
2725 PurgeQueue(context.Context, *PurgeQueueRequest) (*Queue, error)
2726 // Pauses the queue.
2727 //
2728 // If a queue is paused then the system will stop dispatching tasks
2729 // until the queue is resumed via
2730 // [ResumeQueue][google.cloud.tasks.v2beta2.CloudTasks.ResumeQueue]. Tasks can
2731 // still be added when the queue is paused. A queue is paused if its
2732 // [state][google.cloud.tasks.v2beta2.Queue.state] is
2733 // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
2734 PauseQueue(context.Context, *PauseQueueRequest) (*Queue, error)
2735 // Resume a queue.
2736 //
2737 // This method resumes a queue after it has been
2738 // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED] or
2739 // [DISABLED][google.cloud.tasks.v2beta2.Queue.State.DISABLED]. The state of a
2740 // queue is stored in the queue's
2741 // [state][google.cloud.tasks.v2beta2.Queue.state]; after calling this method
2742 // it will be set to
2743 // [RUNNING][google.cloud.tasks.v2beta2.Queue.State.RUNNING].
2744 //
2745 // WARNING: Resuming many high-QPS queues at the same time can
2746 // lead to target overloading. If you are resuming high-QPS
2747 // queues, follow the 500/50/5 pattern described in
2748 // [Managing Cloud Tasks Scaling
2749 // Risks](https://cloud.google.com/tasks/docs/manage-cloud-task-scaling).
2750 ResumeQueue(context.Context, *ResumeQueueRequest) (*Queue, error)
2751 // Update queue list by uploading a queue.yaml file.
2752 //
2753 // The queue.yaml file is supplied in the request body as a YAML encoded
2754 // string. This method was added to support gcloud clients versions before
2755 // 322.0.0. New clients should use CreateQueue instead of this method.
2756 UploadQueueYaml(context.Context, *UploadQueueYamlRequest) (*emptypb.Empty, error)
2757 // Gets the access control policy for a
2758 // [Queue][google.cloud.tasks.v2beta2.Queue]. Returns an empty policy if the
2759 // resource exists and does not have a policy set.
2760 //
2761 // Authorization requires the following
2762 // [Google IAM](https://cloud.google.com/iam) permission on the specified
2763 // resource parent:
2764 //
2765 // * `cloudtasks.queues.getIamPolicy`
2766 GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error)
2767 // Sets the access control policy for a
2768 // [Queue][google.cloud.tasks.v2beta2.Queue]. Replaces any existing policy.
2769 //
2770 // Note: The Cloud Console does not check queue-level IAM permissions yet.
2771 // Project-level permissions are required to use the Cloud Console.
2772 //
2773 // Authorization requires the following
2774 // [Google IAM](https://cloud.google.com/iam) permission on the specified
2775 // resource parent:
2776 //
2777 // * `cloudtasks.queues.setIamPolicy`
2778 SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error)
2779 // Returns permissions that a caller has on a
2780 // [Queue][google.cloud.tasks.v2beta2.Queue]. If the resource does not exist,
2781 // this will return an empty set of permissions, not a
2782 // [NOT_FOUND][google.rpc.Code.NOT_FOUND] error.
2783 //
2784 // Note: This operation is designed to be used for building permission-aware
2785 // UIs and command-line tools, not for authorization checking. This operation
2786 // may "fail open" without warning.
2787 TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error)
2788 // Lists the tasks in a queue.
2789 //
2790 // By default, only the [BASIC][google.cloud.tasks.v2beta2.Task.View.BASIC]
2791 // view is retrieved due to performance considerations;
2792 // [response_view][google.cloud.tasks.v2beta2.ListTasksRequest.response_view]
2793 // controls the subset of information which is returned.
2794 //
2795 // The tasks may be returned in any order. The ordering may change at any
2796 // time.
2797 ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error)
2798 // Gets a task.
2799 GetTask(context.Context, *GetTaskRequest) (*Task, error)
2800 // Creates a task and adds it to a queue.
2801 //
2802 // Tasks cannot be updated after creation; there is no UpdateTask command.
2803 //
2804 // * For [App Engine queues][google.cloud.tasks.v2beta2.AppEngineHttpTarget],
2805 // the maximum task size is
2806 //
2807 // 100KB.
2808 //
2809 // * For [pull queues][google.cloud.tasks.v2beta2.PullTarget], the maximum
2810 // task size is 1MB.
2811 CreateTask(context.Context, *CreateTaskRequest) (*Task, error)
2812 // Deletes a task.
2813 //
2814 // A task can be deleted if it is scheduled or dispatched. A task
2815 // cannot be deleted if it has completed successfully or permanently
2816 // failed.
2817 DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error)
2818 // Leases tasks from a pull queue for
2819 // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration].
2820 //
2821 // This method is invoked by the worker to obtain a lease. The
2822 // worker must acknowledge the task via
2823 // [AcknowledgeTask][google.cloud.tasks.v2beta2.CloudTasks.AcknowledgeTask]
2824 // after they have performed the work associated with the task.
2825 //
2826 // The [payload][google.cloud.tasks.v2beta2.PullMessage.payload] is intended
2827 // to store data that the worker needs to perform the work associated with the
2828 // task. To return the payloads in the
2829 // [response][google.cloud.tasks.v2beta2.LeaseTasksResponse], set
2830 // [response_view][google.cloud.tasks.v2beta2.LeaseTasksRequest.response_view]
2831 // to [FULL][google.cloud.tasks.v2beta2.Task.View.FULL].
2832 //
2833 // A maximum of 10 qps of
2834 // [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] requests are
2835 // allowed per queue. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
2836 // is returned when this limit is
2837 // exceeded. [RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED]
2838 // is also returned when
2839 // [max_tasks_dispatched_per_second][google.cloud.tasks.v2beta2.RateLimits.max_tasks_dispatched_per_second]
2840 // is exceeded.
2841 LeaseTasks(context.Context, *LeaseTasksRequest) (*LeaseTasksResponse, error)
2842 // Acknowledges a pull task.
2843 //
2844 // The worker, that is, the entity that
2845 // [leased][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks] this task must
2846 // call this method to indicate that the work associated with the task has
2847 // finished.
2848 //
2849 // The worker must acknowledge a task within the
2850 // [lease_duration][google.cloud.tasks.v2beta2.LeaseTasksRequest.lease_duration]
2851 // or the lease will expire and the task will become available to be leased
2852 // again. After the task is acknowledged, it will not be returned
2853 // by a later [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks],
2854 // [GetTask][google.cloud.tasks.v2beta2.CloudTasks.GetTask], or
2855 // [ListTasks][google.cloud.tasks.v2beta2.CloudTasks.ListTasks].
2856 AcknowledgeTask(context.Context, *AcknowledgeTaskRequest) (*emptypb.Empty, error)
2857 // Renew the current lease of a pull task.
2858 //
2859 // The worker can use this method to extend the lease by a new
2860 // duration, starting from now. The new task lease will be
2861 // returned in the task's
2862 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time].
2863 RenewLease(context.Context, *RenewLeaseRequest) (*Task, error)
2864 // Cancel a pull task's lease.
2865 //
2866 // The worker can use this method to cancel a task's lease by
2867 // setting its [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time]
2868 // to now. This will make the task available to be leased to the next caller
2869 // of [LeaseTasks][google.cloud.tasks.v2beta2.CloudTasks.LeaseTasks].
2870 CancelLease(context.Context, *CancelLeaseRequest) (*Task, error)
2871 // Forces a task to run now.
2872 //
2873 // When this method is called, Cloud Tasks will dispatch the task, even if
2874 // the task is already running, the queue has reached its
2875 // [RateLimits][google.cloud.tasks.v2beta2.RateLimits] or is
2876 // [PAUSED][google.cloud.tasks.v2beta2.Queue.State.PAUSED].
2877 //
2878 // This command is meant to be used for manual debugging. For
2879 // example, [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] can be
2880 // used to retry a failed task after a fix has been made or to manually force
2881 // a task to be dispatched now.
2882 //
2883 // The dispatched task is returned. That is, the task that is returned
2884 // contains the [status][google.cloud.tasks.v2beta2.Task.status] after the
2885 // task is dispatched but before the task is received by its target.
2886 //
2887 // If Cloud Tasks receives a successful response from the task's
2888 // target, then the task will be deleted; otherwise the task's
2889 // [schedule_time][google.cloud.tasks.v2beta2.Task.schedule_time] will be
2890 // reset to the time that
2891 // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] was called plus
2892 // the retry delay specified in the queue's
2893 // [RetryConfig][google.cloud.tasks.v2beta2.RetryConfig].
2894 //
2895 // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] returns
2896 // [NOT_FOUND][google.rpc.Code.NOT_FOUND] when it is called on a
2897 // task that has already succeeded or permanently failed.
2898 //
2899 // [RunTask][google.cloud.tasks.v2beta2.CloudTasks.RunTask] cannot be called
2900 // on a [pull task][google.cloud.tasks.v2beta2.PullMessage].
2901 RunTask(context.Context, *RunTaskRequest) (*Task, error)
2902 }
2903
2904 // UnimplementedCloudTasksServer can be embedded to have forward compatible implementations.
2905 type UnimplementedCloudTasksServer struct {
2906 }
2907
2908 func (*UnimplementedCloudTasksServer) ListQueues(context.Context, *ListQueuesRequest) (*ListQueuesResponse, error) {
2909 return nil, status.Errorf(codes.Unimplemented, "method ListQueues not implemented")
2910 }
2911 func (*UnimplementedCloudTasksServer) GetQueue(context.Context, *GetQueueRequest) (*Queue, error) {
2912 return nil, status.Errorf(codes.Unimplemented, "method GetQueue not implemented")
2913 }
2914 func (*UnimplementedCloudTasksServer) CreateQueue(context.Context, *CreateQueueRequest) (*Queue, error) {
2915 return nil, status.Errorf(codes.Unimplemented, "method CreateQueue not implemented")
2916 }
2917 func (*UnimplementedCloudTasksServer) UpdateQueue(context.Context, *UpdateQueueRequest) (*Queue, error) {
2918 return nil, status.Errorf(codes.Unimplemented, "method UpdateQueue not implemented")
2919 }
2920 func (*UnimplementedCloudTasksServer) DeleteQueue(context.Context, *DeleteQueueRequest) (*emptypb.Empty, error) {
2921 return nil, status.Errorf(codes.Unimplemented, "method DeleteQueue not implemented")
2922 }
2923 func (*UnimplementedCloudTasksServer) PurgeQueue(context.Context, *PurgeQueueRequest) (*Queue, error) {
2924 return nil, status.Errorf(codes.Unimplemented, "method PurgeQueue not implemented")
2925 }
2926 func (*UnimplementedCloudTasksServer) PauseQueue(context.Context, *PauseQueueRequest) (*Queue, error) {
2927 return nil, status.Errorf(codes.Unimplemented, "method PauseQueue not implemented")
2928 }
2929 func (*UnimplementedCloudTasksServer) ResumeQueue(context.Context, *ResumeQueueRequest) (*Queue, error) {
2930 return nil, status.Errorf(codes.Unimplemented, "method ResumeQueue not implemented")
2931 }
2932 func (*UnimplementedCloudTasksServer) UploadQueueYaml(context.Context, *UploadQueueYamlRequest) (*emptypb.Empty, error) {
2933 return nil, status.Errorf(codes.Unimplemented, "method UploadQueueYaml not implemented")
2934 }
2935 func (*UnimplementedCloudTasksServer) GetIamPolicy(context.Context, *iampb.GetIamPolicyRequest) (*iampb.Policy, error) {
2936 return nil, status.Errorf(codes.Unimplemented, "method GetIamPolicy not implemented")
2937 }
2938 func (*UnimplementedCloudTasksServer) SetIamPolicy(context.Context, *iampb.SetIamPolicyRequest) (*iampb.Policy, error) {
2939 return nil, status.Errorf(codes.Unimplemented, "method SetIamPolicy not implemented")
2940 }
2941 func (*UnimplementedCloudTasksServer) TestIamPermissions(context.Context, *iampb.TestIamPermissionsRequest) (*iampb.TestIamPermissionsResponse, error) {
2942 return nil, status.Errorf(codes.Unimplemented, "method TestIamPermissions not implemented")
2943 }
2944 func (*UnimplementedCloudTasksServer) ListTasks(context.Context, *ListTasksRequest) (*ListTasksResponse, error) {
2945 return nil, status.Errorf(codes.Unimplemented, "method ListTasks not implemented")
2946 }
2947 func (*UnimplementedCloudTasksServer) GetTask(context.Context, *GetTaskRequest) (*Task, error) {
2948 return nil, status.Errorf(codes.Unimplemented, "method GetTask not implemented")
2949 }
2950 func (*UnimplementedCloudTasksServer) CreateTask(context.Context, *CreateTaskRequest) (*Task, error) {
2951 return nil, status.Errorf(codes.Unimplemented, "method CreateTask not implemented")
2952 }
2953 func (*UnimplementedCloudTasksServer) DeleteTask(context.Context, *DeleteTaskRequest) (*emptypb.Empty, error) {
2954 return nil, status.Errorf(codes.Unimplemented, "method DeleteTask not implemented")
2955 }
2956 func (*UnimplementedCloudTasksServer) LeaseTasks(context.Context, *LeaseTasksRequest) (*LeaseTasksResponse, error) {
2957 return nil, status.Errorf(codes.Unimplemented, "method LeaseTasks not implemented")
2958 }
2959 func (*UnimplementedCloudTasksServer) AcknowledgeTask(context.Context, *AcknowledgeTaskRequest) (*emptypb.Empty, error) {
2960 return nil, status.Errorf(codes.Unimplemented, "method AcknowledgeTask not implemented")
2961 }
2962 func (*UnimplementedCloudTasksServer) RenewLease(context.Context, *RenewLeaseRequest) (*Task, error) {
2963 return nil, status.Errorf(codes.Unimplemented, "method RenewLease not implemented")
2964 }
2965 func (*UnimplementedCloudTasksServer) CancelLease(context.Context, *CancelLeaseRequest) (*Task, error) {
2966 return nil, status.Errorf(codes.Unimplemented, "method CancelLease not implemented")
2967 }
2968 func (*UnimplementedCloudTasksServer) RunTask(context.Context, *RunTaskRequest) (*Task, error) {
2969 return nil, status.Errorf(codes.Unimplemented, "method RunTask not implemented")
2970 }
2971
2972 func RegisterCloudTasksServer(s *grpc.Server, srv CloudTasksServer) {
2973 s.RegisterService(&_CloudTasks_serviceDesc, srv)
2974 }
2975
2976 func _CloudTasks_ListQueues_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2977 in := new(ListQueuesRequest)
2978 if err := dec(in); err != nil {
2979 return nil, err
2980 }
2981 if interceptor == nil {
2982 return srv.(CloudTasksServer).ListQueues(ctx, in)
2983 }
2984 info := &grpc.UnaryServerInfo{
2985 Server: srv,
2986 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/ListQueues",
2987 }
2988 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
2989 return srv.(CloudTasksServer).ListQueues(ctx, req.(*ListQueuesRequest))
2990 }
2991 return interceptor(ctx, in, info, handler)
2992 }
2993
2994 func _CloudTasks_GetQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
2995 in := new(GetQueueRequest)
2996 if err := dec(in); err != nil {
2997 return nil, err
2998 }
2999 if interceptor == nil {
3000 return srv.(CloudTasksServer).GetQueue(ctx, in)
3001 }
3002 info := &grpc.UnaryServerInfo{
3003 Server: srv,
3004 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/GetQueue",
3005 }
3006 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3007 return srv.(CloudTasksServer).GetQueue(ctx, req.(*GetQueueRequest))
3008 }
3009 return interceptor(ctx, in, info, handler)
3010 }
3011
3012 func _CloudTasks_CreateQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3013 in := new(CreateQueueRequest)
3014 if err := dec(in); err != nil {
3015 return nil, err
3016 }
3017 if interceptor == nil {
3018 return srv.(CloudTasksServer).CreateQueue(ctx, in)
3019 }
3020 info := &grpc.UnaryServerInfo{
3021 Server: srv,
3022 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/CreateQueue",
3023 }
3024 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3025 return srv.(CloudTasksServer).CreateQueue(ctx, req.(*CreateQueueRequest))
3026 }
3027 return interceptor(ctx, in, info, handler)
3028 }
3029
3030 func _CloudTasks_UpdateQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3031 in := new(UpdateQueueRequest)
3032 if err := dec(in); err != nil {
3033 return nil, err
3034 }
3035 if interceptor == nil {
3036 return srv.(CloudTasksServer).UpdateQueue(ctx, in)
3037 }
3038 info := &grpc.UnaryServerInfo{
3039 Server: srv,
3040 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/UpdateQueue",
3041 }
3042 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3043 return srv.(CloudTasksServer).UpdateQueue(ctx, req.(*UpdateQueueRequest))
3044 }
3045 return interceptor(ctx, in, info, handler)
3046 }
3047
3048 func _CloudTasks_DeleteQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3049 in := new(DeleteQueueRequest)
3050 if err := dec(in); err != nil {
3051 return nil, err
3052 }
3053 if interceptor == nil {
3054 return srv.(CloudTasksServer).DeleteQueue(ctx, in)
3055 }
3056 info := &grpc.UnaryServerInfo{
3057 Server: srv,
3058 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/DeleteQueue",
3059 }
3060 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3061 return srv.(CloudTasksServer).DeleteQueue(ctx, req.(*DeleteQueueRequest))
3062 }
3063 return interceptor(ctx, in, info, handler)
3064 }
3065
3066 func _CloudTasks_PurgeQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3067 in := new(PurgeQueueRequest)
3068 if err := dec(in); err != nil {
3069 return nil, err
3070 }
3071 if interceptor == nil {
3072 return srv.(CloudTasksServer).PurgeQueue(ctx, in)
3073 }
3074 info := &grpc.UnaryServerInfo{
3075 Server: srv,
3076 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/PurgeQueue",
3077 }
3078 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3079 return srv.(CloudTasksServer).PurgeQueue(ctx, req.(*PurgeQueueRequest))
3080 }
3081 return interceptor(ctx, in, info, handler)
3082 }
3083
3084 func _CloudTasks_PauseQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3085 in := new(PauseQueueRequest)
3086 if err := dec(in); err != nil {
3087 return nil, err
3088 }
3089 if interceptor == nil {
3090 return srv.(CloudTasksServer).PauseQueue(ctx, in)
3091 }
3092 info := &grpc.UnaryServerInfo{
3093 Server: srv,
3094 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/PauseQueue",
3095 }
3096 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3097 return srv.(CloudTasksServer).PauseQueue(ctx, req.(*PauseQueueRequest))
3098 }
3099 return interceptor(ctx, in, info, handler)
3100 }
3101
3102 func _CloudTasks_ResumeQueue_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3103 in := new(ResumeQueueRequest)
3104 if err := dec(in); err != nil {
3105 return nil, err
3106 }
3107 if interceptor == nil {
3108 return srv.(CloudTasksServer).ResumeQueue(ctx, in)
3109 }
3110 info := &grpc.UnaryServerInfo{
3111 Server: srv,
3112 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/ResumeQueue",
3113 }
3114 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3115 return srv.(CloudTasksServer).ResumeQueue(ctx, req.(*ResumeQueueRequest))
3116 }
3117 return interceptor(ctx, in, info, handler)
3118 }
3119
3120 func _CloudTasks_UploadQueueYaml_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3121 in := new(UploadQueueYamlRequest)
3122 if err := dec(in); err != nil {
3123 return nil, err
3124 }
3125 if interceptor == nil {
3126 return srv.(CloudTasksServer).UploadQueueYaml(ctx, in)
3127 }
3128 info := &grpc.UnaryServerInfo{
3129 Server: srv,
3130 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/UploadQueueYaml",
3131 }
3132 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3133 return srv.(CloudTasksServer).UploadQueueYaml(ctx, req.(*UploadQueueYamlRequest))
3134 }
3135 return interceptor(ctx, in, info, handler)
3136 }
3137
3138 func _CloudTasks_GetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3139 in := new(iampb.GetIamPolicyRequest)
3140 if err := dec(in); err != nil {
3141 return nil, err
3142 }
3143 if interceptor == nil {
3144 return srv.(CloudTasksServer).GetIamPolicy(ctx, in)
3145 }
3146 info := &grpc.UnaryServerInfo{
3147 Server: srv,
3148 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/GetIamPolicy",
3149 }
3150 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3151 return srv.(CloudTasksServer).GetIamPolicy(ctx, req.(*iampb.GetIamPolicyRequest))
3152 }
3153 return interceptor(ctx, in, info, handler)
3154 }
3155
3156 func _CloudTasks_SetIamPolicy_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3157 in := new(iampb.SetIamPolicyRequest)
3158 if err := dec(in); err != nil {
3159 return nil, err
3160 }
3161 if interceptor == nil {
3162 return srv.(CloudTasksServer).SetIamPolicy(ctx, in)
3163 }
3164 info := &grpc.UnaryServerInfo{
3165 Server: srv,
3166 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/SetIamPolicy",
3167 }
3168 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3169 return srv.(CloudTasksServer).SetIamPolicy(ctx, req.(*iampb.SetIamPolicyRequest))
3170 }
3171 return interceptor(ctx, in, info, handler)
3172 }
3173
3174 func _CloudTasks_TestIamPermissions_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3175 in := new(iampb.TestIamPermissionsRequest)
3176 if err := dec(in); err != nil {
3177 return nil, err
3178 }
3179 if interceptor == nil {
3180 return srv.(CloudTasksServer).TestIamPermissions(ctx, in)
3181 }
3182 info := &grpc.UnaryServerInfo{
3183 Server: srv,
3184 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/TestIamPermissions",
3185 }
3186 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3187 return srv.(CloudTasksServer).TestIamPermissions(ctx, req.(*iampb.TestIamPermissionsRequest))
3188 }
3189 return interceptor(ctx, in, info, handler)
3190 }
3191
3192 func _CloudTasks_ListTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3193 in := new(ListTasksRequest)
3194 if err := dec(in); err != nil {
3195 return nil, err
3196 }
3197 if interceptor == nil {
3198 return srv.(CloudTasksServer).ListTasks(ctx, in)
3199 }
3200 info := &grpc.UnaryServerInfo{
3201 Server: srv,
3202 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/ListTasks",
3203 }
3204 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3205 return srv.(CloudTasksServer).ListTasks(ctx, req.(*ListTasksRequest))
3206 }
3207 return interceptor(ctx, in, info, handler)
3208 }
3209
3210 func _CloudTasks_GetTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3211 in := new(GetTaskRequest)
3212 if err := dec(in); err != nil {
3213 return nil, err
3214 }
3215 if interceptor == nil {
3216 return srv.(CloudTasksServer).GetTask(ctx, in)
3217 }
3218 info := &grpc.UnaryServerInfo{
3219 Server: srv,
3220 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/GetTask",
3221 }
3222 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3223 return srv.(CloudTasksServer).GetTask(ctx, req.(*GetTaskRequest))
3224 }
3225 return interceptor(ctx, in, info, handler)
3226 }
3227
3228 func _CloudTasks_CreateTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3229 in := new(CreateTaskRequest)
3230 if err := dec(in); err != nil {
3231 return nil, err
3232 }
3233 if interceptor == nil {
3234 return srv.(CloudTasksServer).CreateTask(ctx, in)
3235 }
3236 info := &grpc.UnaryServerInfo{
3237 Server: srv,
3238 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/CreateTask",
3239 }
3240 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3241 return srv.(CloudTasksServer).CreateTask(ctx, req.(*CreateTaskRequest))
3242 }
3243 return interceptor(ctx, in, info, handler)
3244 }
3245
3246 func _CloudTasks_DeleteTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3247 in := new(DeleteTaskRequest)
3248 if err := dec(in); err != nil {
3249 return nil, err
3250 }
3251 if interceptor == nil {
3252 return srv.(CloudTasksServer).DeleteTask(ctx, in)
3253 }
3254 info := &grpc.UnaryServerInfo{
3255 Server: srv,
3256 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/DeleteTask",
3257 }
3258 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3259 return srv.(CloudTasksServer).DeleteTask(ctx, req.(*DeleteTaskRequest))
3260 }
3261 return interceptor(ctx, in, info, handler)
3262 }
3263
3264 func _CloudTasks_LeaseTasks_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3265 in := new(LeaseTasksRequest)
3266 if err := dec(in); err != nil {
3267 return nil, err
3268 }
3269 if interceptor == nil {
3270 return srv.(CloudTasksServer).LeaseTasks(ctx, in)
3271 }
3272 info := &grpc.UnaryServerInfo{
3273 Server: srv,
3274 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/LeaseTasks",
3275 }
3276 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3277 return srv.(CloudTasksServer).LeaseTasks(ctx, req.(*LeaseTasksRequest))
3278 }
3279 return interceptor(ctx, in, info, handler)
3280 }
3281
3282 func _CloudTasks_AcknowledgeTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3283 in := new(AcknowledgeTaskRequest)
3284 if err := dec(in); err != nil {
3285 return nil, err
3286 }
3287 if interceptor == nil {
3288 return srv.(CloudTasksServer).AcknowledgeTask(ctx, in)
3289 }
3290 info := &grpc.UnaryServerInfo{
3291 Server: srv,
3292 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/AcknowledgeTask",
3293 }
3294 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3295 return srv.(CloudTasksServer).AcknowledgeTask(ctx, req.(*AcknowledgeTaskRequest))
3296 }
3297 return interceptor(ctx, in, info, handler)
3298 }
3299
3300 func _CloudTasks_RenewLease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3301 in := new(RenewLeaseRequest)
3302 if err := dec(in); err != nil {
3303 return nil, err
3304 }
3305 if interceptor == nil {
3306 return srv.(CloudTasksServer).RenewLease(ctx, in)
3307 }
3308 info := &grpc.UnaryServerInfo{
3309 Server: srv,
3310 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/RenewLease",
3311 }
3312 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3313 return srv.(CloudTasksServer).RenewLease(ctx, req.(*RenewLeaseRequest))
3314 }
3315 return interceptor(ctx, in, info, handler)
3316 }
3317
3318 func _CloudTasks_CancelLease_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3319 in := new(CancelLeaseRequest)
3320 if err := dec(in); err != nil {
3321 return nil, err
3322 }
3323 if interceptor == nil {
3324 return srv.(CloudTasksServer).CancelLease(ctx, in)
3325 }
3326 info := &grpc.UnaryServerInfo{
3327 Server: srv,
3328 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/CancelLease",
3329 }
3330 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3331 return srv.(CloudTasksServer).CancelLease(ctx, req.(*CancelLeaseRequest))
3332 }
3333 return interceptor(ctx, in, info, handler)
3334 }
3335
3336 func _CloudTasks_RunTask_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3337 in := new(RunTaskRequest)
3338 if err := dec(in); err != nil {
3339 return nil, err
3340 }
3341 if interceptor == nil {
3342 return srv.(CloudTasksServer).RunTask(ctx, in)
3343 }
3344 info := &grpc.UnaryServerInfo{
3345 Server: srv,
3346 FullMethod: "/google.cloud.tasks.v2beta2.CloudTasks/RunTask",
3347 }
3348 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3349 return srv.(CloudTasksServer).RunTask(ctx, req.(*RunTaskRequest))
3350 }
3351 return interceptor(ctx, in, info, handler)
3352 }
3353
3354 var _CloudTasks_serviceDesc = grpc.ServiceDesc{
3355 ServiceName: "google.cloud.tasks.v2beta2.CloudTasks",
3356 HandlerType: (*CloudTasksServer)(nil),
3357 Methods: []grpc.MethodDesc{
3358 {
3359 MethodName: "ListQueues",
3360 Handler: _CloudTasks_ListQueues_Handler,
3361 },
3362 {
3363 MethodName: "GetQueue",
3364 Handler: _CloudTasks_GetQueue_Handler,
3365 },
3366 {
3367 MethodName: "CreateQueue",
3368 Handler: _CloudTasks_CreateQueue_Handler,
3369 },
3370 {
3371 MethodName: "UpdateQueue",
3372 Handler: _CloudTasks_UpdateQueue_Handler,
3373 },
3374 {
3375 MethodName: "DeleteQueue",
3376 Handler: _CloudTasks_DeleteQueue_Handler,
3377 },
3378 {
3379 MethodName: "PurgeQueue",
3380 Handler: _CloudTasks_PurgeQueue_Handler,
3381 },
3382 {
3383 MethodName: "PauseQueue",
3384 Handler: _CloudTasks_PauseQueue_Handler,
3385 },
3386 {
3387 MethodName: "ResumeQueue",
3388 Handler: _CloudTasks_ResumeQueue_Handler,
3389 },
3390 {
3391 MethodName: "UploadQueueYaml",
3392 Handler: _CloudTasks_UploadQueueYaml_Handler,
3393 },
3394 {
3395 MethodName: "GetIamPolicy",
3396 Handler: _CloudTasks_GetIamPolicy_Handler,
3397 },
3398 {
3399 MethodName: "SetIamPolicy",
3400 Handler: _CloudTasks_SetIamPolicy_Handler,
3401 },
3402 {
3403 MethodName: "TestIamPermissions",
3404 Handler: _CloudTasks_TestIamPermissions_Handler,
3405 },
3406 {
3407 MethodName: "ListTasks",
3408 Handler: _CloudTasks_ListTasks_Handler,
3409 },
3410 {
3411 MethodName: "GetTask",
3412 Handler: _CloudTasks_GetTask_Handler,
3413 },
3414 {
3415 MethodName: "CreateTask",
3416 Handler: _CloudTasks_CreateTask_Handler,
3417 },
3418 {
3419 MethodName: "DeleteTask",
3420 Handler: _CloudTasks_DeleteTask_Handler,
3421 },
3422 {
3423 MethodName: "LeaseTasks",
3424 Handler: _CloudTasks_LeaseTasks_Handler,
3425 },
3426 {
3427 MethodName: "AcknowledgeTask",
3428 Handler: _CloudTasks_AcknowledgeTask_Handler,
3429 },
3430 {
3431 MethodName: "RenewLease",
3432 Handler: _CloudTasks_RenewLease_Handler,
3433 },
3434 {
3435 MethodName: "CancelLease",
3436 Handler: _CloudTasks_CancelLease_Handler,
3437 },
3438 {
3439 MethodName: "RunTask",
3440 Handler: _CloudTasks_RunTask_Handler,
3441 },
3442 },
3443 Streams: []grpc.StreamDesc{},
3444 Metadata: "google/cloud/tasks/v2beta2/cloudtasks.proto",
3445 }