Debian Codegraph @

cloudtasks/apiv2beta3/cloudtaskspb/target.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/v2beta3/target.proto
20
21 package cloudtaskspb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // The HTTP method used to execute the task.
38 type HttpMethod int32
39
40 const (
41 // HTTP method unspecified
42 HttpMethod_HTTP_METHOD_UNSPECIFIED HttpMethod = 0
43 // HTTP POST
44 HttpMethod_POST HttpMethod = 1
45 // HTTP GET
46 HttpMethod_GET HttpMethod = 2
47 // HTTP HEAD
48 HttpMethod_HEAD HttpMethod = 3
49 // HTTP PUT
50 HttpMethod_PUT HttpMethod = 4
51 // HTTP DELETE
52 HttpMethod_DELETE HttpMethod = 5
53 // HTTP PATCH
54 HttpMethod_PATCH HttpMethod = 6
55 // HTTP OPTIONS
56 HttpMethod_OPTIONS HttpMethod = 7
57 )
58
59 // Enum value maps for HttpMethod.
60 var (
61 HttpMethod_name = map[int32]string{
62 0: "HTTP_METHOD_UNSPECIFIED",
63 1: "POST",
64 2: "GET",
65 3: "HEAD",
66 4: "PUT",
67 5: "DELETE",
68 6: "PATCH",
69 7: "OPTIONS",
70 }
71 HttpMethod_value = map[string]int32{
72 "HTTP_METHOD_UNSPECIFIED": 0,
73 "POST": 1,
74 "GET": 2,
75 "HEAD": 3,
76 "PUT": 4,
77 "DELETE": 5,
78 "PATCH": 6,
79 "OPTIONS": 7,
80 }
81 )
82
83 func (x HttpMethod) Enum() *HttpMethod {
84 p := new(HttpMethod)
85 *p = x
86 return p
87 }
88
89 func (x HttpMethod) String() string {
90 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
91 }
92
93 func (HttpMethod) Descriptor() protoreflect.EnumDescriptor {
94 return file_google_cloud_tasks_v2beta3_target_proto_enumTypes[0].Descriptor()
95 }
96
97 func (HttpMethod) Type() protoreflect.EnumType {
98 return &file_google_cloud_tasks_v2beta3_target_proto_enumTypes[0]
99 }
100
101 func (x HttpMethod) Number() protoreflect.EnumNumber {
102 return protoreflect.EnumNumber(x)
103 }
104
105 // Deprecated: Use HttpMethod.Descriptor instead.
106 func (HttpMethod) EnumDescriptor() ([]byte, []int) {
107 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{0}
108 }
109
110 // The Scheme for an HTTP request. By default, it is HTTPS.
111 type UriOverride_Scheme int32
112
113 const (
114 // Scheme unspecified. Defaults to HTTPS.
115 UriOverride_SCHEME_UNSPECIFIED UriOverride_Scheme = 0
116 // Convert the scheme to HTTP, e.g., https://www.google.ca will change to
117 // http://www.google.ca.
118 UriOverride_HTTP UriOverride_Scheme = 1
119 // Convert the scheme to HTTPS, e.g., http://www.google.ca will change to
120 // https://www.google.ca.
121 UriOverride_HTTPS UriOverride_Scheme = 2
122 )
123
124 // Enum value maps for UriOverride_Scheme.
125 var (
126 UriOverride_Scheme_name = map[int32]string{
127 0: "SCHEME_UNSPECIFIED",
128 1: "HTTP",
129 2: "HTTPS",
130 }
131 UriOverride_Scheme_value = map[string]int32{
132 "SCHEME_UNSPECIFIED": 0,
133 "HTTP": 1,
134 "HTTPS": 2,
135 }
136 )
137
138 func (x UriOverride_Scheme) Enum() *UriOverride_Scheme {
139 p := new(UriOverride_Scheme)
140 *p = x
141 return p
142 }
143
144 func (x UriOverride_Scheme) String() string {
145 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
146 }
147
148 func (UriOverride_Scheme) Descriptor() protoreflect.EnumDescriptor {
149 return file_google_cloud_tasks_v2beta3_target_proto_enumTypes[1].Descriptor()
150 }
151
152 func (UriOverride_Scheme) Type() protoreflect.EnumType {
153 return &file_google_cloud_tasks_v2beta3_target_proto_enumTypes[1]
154 }
155
156 func (x UriOverride_Scheme) Number() protoreflect.EnumNumber {
157 return protoreflect.EnumNumber(x)
158 }
159
160 // Deprecated: Use UriOverride_Scheme.Descriptor instead.
161 func (UriOverride_Scheme) EnumDescriptor() ([]byte, []int) {
162 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{3, 0}
163 }
164
165 // UriOverrideEnforceMode mode is to define enforcing mode for the override
166 // modes.
167 type UriOverride_UriOverrideEnforceMode int32
168
169 const (
170 // OverrideMode Unspecified. Defaults to ALWAYS.
171 UriOverride_URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED UriOverride_UriOverrideEnforceMode = 0
172 // In the IF_NOT_EXISTS mode, queue-level configuration is only
173 // applied where task-level configuration does not exist.
174 UriOverride_IF_NOT_EXISTS UriOverride_UriOverrideEnforceMode = 1
175 // In the ALWAYS mode, queue-level configuration overrides all
176 // task-level configuration
177 UriOverride_ALWAYS UriOverride_UriOverrideEnforceMode = 2
178 )
179
180 // Enum value maps for UriOverride_UriOverrideEnforceMode.
181 var (
182 UriOverride_UriOverrideEnforceMode_name = map[int32]string{
183 0: "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED",
184 1: "IF_NOT_EXISTS",
185 2: "ALWAYS",
186 }
187 UriOverride_UriOverrideEnforceMode_value = map[string]int32{
188 "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED": 0,
189 "IF_NOT_EXISTS": 1,
190 "ALWAYS": 2,
191 }
192 )
193
194 func (x UriOverride_UriOverrideEnforceMode) Enum() *UriOverride_UriOverrideEnforceMode {
195 p := new(UriOverride_UriOverrideEnforceMode)
196 *p = x
197 return p
198 }
199
200 func (x UriOverride_UriOverrideEnforceMode) String() string {
201 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
202 }
203
204 func (UriOverride_UriOverrideEnforceMode) Descriptor() protoreflect.EnumDescriptor {
205 return file_google_cloud_tasks_v2beta3_target_proto_enumTypes[2].Descriptor()
206 }
207
208 func (UriOverride_UriOverrideEnforceMode) Type() protoreflect.EnumType {
209 return &file_google_cloud_tasks_v2beta3_target_proto_enumTypes[2]
210 }
211
212 func (x UriOverride_UriOverrideEnforceMode) Number() protoreflect.EnumNumber {
213 return protoreflect.EnumNumber(x)
214 }
215
216 // Deprecated: Use UriOverride_UriOverrideEnforceMode.Descriptor instead.
217 func (UriOverride_UriOverrideEnforceMode) EnumDescriptor() ([]byte, []int) {
218 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{3, 1}
219 }
220
221 // Pull Message.
222 //
223 // This proto can only be used for tasks in a queue which has
224 // [PULL][google.cloud.tasks.v2beta3.Queue.type] type. It currently exists for
225 // backwards compatibility with the App Engine Task Queue SDK. This message type
226 // maybe returned with methods
227 // [list][google.cloud.tasks.v2beta3.CloudTask.ListTasks] and
228 // [get][google.cloud.tasks.v2beta3.CloudTask.ListTasks], when the response view
229 // is [FULL][google.cloud.tasks.v2beta3.Task.View.Full].
230 type PullMessage struct {
231 state protoimpl.MessageState
232 sizeCache protoimpl.SizeCache
233 unknownFields protoimpl.UnknownFields
234
235 // A data payload consumed by the worker to execute the task.
236 Payload []byte `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
237 // The tasks's tag.
238 //
239 // The tag is less than 500 characters.
240 //
241 // SDK compatibility: Although the SDK allows tags to be either
242 // string or
243 // [bytes](https://cloud.google.com/appengine/docs/standard/java/javadoc/com/google/appengine/api/taskqueue/TaskOptions.html#tag-byte:A-),
244 // only UTF-8 encoded tags can be used in Cloud Tasks. If a tag isn't UTF-8
245 // encoded, the tag will be empty when the task is returned by Cloud Tasks.
246 Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
247 }
248
249 func (x *PullMessage) Reset() {
250 *x = PullMessage{}
251 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[0]
252 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
253 ms.StoreMessageInfo(mi)
254 }
255
256 func (x *PullMessage) String() string {
257 return protoimpl.X.MessageStringOf(x)
258 }
259
260 func (*PullMessage) ProtoMessage() {}
261
262 func (x *PullMessage) ProtoReflect() protoreflect.Message {
263 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[0]
264 if x != nil {
265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266 if ms.LoadMessageInfo() == nil {
267 ms.StoreMessageInfo(mi)
268 }
269 return ms
270 }
271 return mi.MessageOf(x)
272 }
273
274 // Deprecated: Use PullMessage.ProtoReflect.Descriptor instead.
275 func (*PullMessage) Descriptor() ([]byte, []int) {
276 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{0}
277 }
278
279 func (x *PullMessage) GetPayload() []byte {
280 if x != nil {
281 return x.Payload
282 }
283 return nil
284 }
285
286 func (x *PullMessage) GetTag() string {
287 if x != nil {
288 return x.Tag
289 }
290 return ""
291 }
292
293 // PathOverride.
294 //
295 // Path message defines path override for HTTP targets.
296 type PathOverride struct {
297 state protoimpl.MessageState
298 sizeCache protoimpl.SizeCache
299 unknownFields protoimpl.UnknownFields
300
301 // The URI path (e.g., /users/1234). Default is an empty string.
302 Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
303 }
304
305 func (x *PathOverride) Reset() {
306 *x = PathOverride{}
307 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[1]
308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
309 ms.StoreMessageInfo(mi)
310 }
311
312 func (x *PathOverride) String() string {
313 return protoimpl.X.MessageStringOf(x)
314 }
315
316 func (*PathOverride) ProtoMessage() {}
317
318 func (x *PathOverride) ProtoReflect() protoreflect.Message {
319 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[1]
320 if x != nil {
321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
322 if ms.LoadMessageInfo() == nil {
323 ms.StoreMessageInfo(mi)
324 }
325 return ms
326 }
327 return mi.MessageOf(x)
328 }
329
330 // Deprecated: Use PathOverride.ProtoReflect.Descriptor instead.
331 func (*PathOverride) Descriptor() ([]byte, []int) {
332 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{1}
333 }
334
335 func (x *PathOverride) GetPath() string {
336 if x != nil {
337 return x.Path
338 }
339 return ""
340 }
341
342 // QueryOverride.
343 //
344 // Query message defines query override for HTTP targets.
345 type QueryOverride struct {
346 state protoimpl.MessageState
347 sizeCache protoimpl.SizeCache
348 unknownFields protoimpl.UnknownFields
349
350 // The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty
351 // string.
352 QueryParams string `protobuf:"bytes,1,opt,name=query_params,json=queryParams,proto3" json:"query_params,omitempty"`
353 }
354
355 func (x *QueryOverride) Reset() {
356 *x = QueryOverride{}
357 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[2]
358 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
359 ms.StoreMessageInfo(mi)
360 }
361
362 func (x *QueryOverride) String() string {
363 return protoimpl.X.MessageStringOf(x)
364 }
365
366 func (*QueryOverride) ProtoMessage() {}
367
368 func (x *QueryOverride) ProtoReflect() protoreflect.Message {
369 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[2]
370 if x != nil {
371 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
372 if ms.LoadMessageInfo() == nil {
373 ms.StoreMessageInfo(mi)
374 }
375 return ms
376 }
377 return mi.MessageOf(x)
378 }
379
380 // Deprecated: Use QueryOverride.ProtoReflect.Descriptor instead.
381 func (*QueryOverride) Descriptor() ([]byte, []int) {
382 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{2}
383 }
384
385 func (x *QueryOverride) GetQueryParams() string {
386 if x != nil {
387 return x.QueryParams
388 }
389 return ""
390 }
391
392 // URI Override.
393 //
394 // When specified, all the HTTP tasks inside the queue will be partially or
395 // fully overridden depending on the configured values.
396 type UriOverride struct {
397 state protoimpl.MessageState
398 sizeCache protoimpl.SizeCache
399 unknownFields protoimpl.UnknownFields
400
401 // Scheme override.
402 //
403 // When specified, the task URI scheme is replaced by the provided value (HTTP
404 // or HTTPS).
405 Scheme *UriOverride_Scheme `protobuf:"varint,1,opt,name=scheme,proto3,enum=google.cloud.tasks.v2beta3.UriOverride_Scheme,oneof" json:"scheme,omitempty"`
406 // Host override.
407 //
408 // When specified, replaces the host part of the task URL. For example,
409 // if the task URL is "https://www.google.com," and host value is set to
410 // "example.net", the overridden URI will be changed to "https://example.net."
411 // Host value cannot be an empty string (INVALID_ARGUMENT).
412 Host *string `protobuf:"bytes,2,opt,name=host,proto3,oneof" json:"host,omitempty"`
413 // Port override.
414 //
415 // When specified, replaces the port part of the task URI. For instance,
416 // for a URI http://www.google.com/foo and port=123, the overridden URI
417 // becomes http://www.google.com:123/foo. Note that the port value must be a
418 // positive integer. Setting the port to 0 (Zero) clears the URI port.
419 Port *int64 `protobuf:"varint,3,opt,name=port,proto3,oneof" json:"port,omitempty"`
420 // URI path.
421 //
422 // When specified, replaces the existing path of the task URL. Setting the
423 // path value to an empty string clears the URI path segment.
424 PathOverride *PathOverride `protobuf:"bytes,4,opt,name=path_override,json=pathOverride,proto3" json:"path_override,omitempty"`
425 // URI Query.
426 //
427 // When specified, replaces the query part of the task URI. Setting the
428 // query value to an empty string clears the URI query segment.
429 QueryOverride *QueryOverride `protobuf:"bytes,5,opt,name=query_override,json=queryOverride,proto3" json:"query_override,omitempty"`
430 // URI Override Enforce Mode
431 //
432 // When specified, determines the Target UriOverride mode. If not specified,
433 // it defaults to ALWAYS.
434 UriOverrideEnforceMode UriOverride_UriOverrideEnforceMode `protobuf:"varint,6,opt,name=uri_override_enforce_mode,json=uriOverrideEnforceMode,proto3,enum=google.cloud.tasks.v2beta3.UriOverride_UriOverrideEnforceMode" json:"uri_override_enforce_mode,omitempty"`
435 }
436
437 func (x *UriOverride) Reset() {
438 *x = UriOverride{}
439 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[3]
440 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
441 ms.StoreMessageInfo(mi)
442 }
443
444 func (x *UriOverride) String() string {
445 return protoimpl.X.MessageStringOf(x)
446 }
447
448 func (*UriOverride) ProtoMessage() {}
449
450 func (x *UriOverride) ProtoReflect() protoreflect.Message {
451 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[3]
452 if x != nil {
453 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
454 if ms.LoadMessageInfo() == nil {
455 ms.StoreMessageInfo(mi)
456 }
457 return ms
458 }
459 return mi.MessageOf(x)
460 }
461
462 // Deprecated: Use UriOverride.ProtoReflect.Descriptor instead.
463 func (*UriOverride) Descriptor() ([]byte, []int) {
464 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{3}
465 }
466
467 func (x *UriOverride) GetScheme() UriOverride_Scheme {
468 if x != nil && x.Scheme != nil {
469 return *x.Scheme
470 }
471 return UriOverride_SCHEME_UNSPECIFIED
472 }
473
474 func (x *UriOverride) GetHost() string {
475 if x != nil && x.Host != nil {
476 return *x.Host
477 }
478 return ""
479 }
480
481 func (x *UriOverride) GetPort() int64 {
482 if x != nil && x.Port != nil {
483 return *x.Port
484 }
485 return 0
486 }
487
488 func (x *UriOverride) GetPathOverride() *PathOverride {
489 if x != nil {
490 return x.PathOverride
491 }
492 return nil
493 }
494
495 func (x *UriOverride) GetQueryOverride() *QueryOverride {
496 if x != nil {
497 return x.QueryOverride
498 }
499 return nil
500 }
501
502 func (x *UriOverride) GetUriOverrideEnforceMode() UriOverride_UriOverrideEnforceMode {
503 if x != nil {
504 return x.UriOverrideEnforceMode
505 }
506 return UriOverride_URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED
507 }
508
509 // HTTP target.
510 //
511 // When specified as a [Queue][target_type], all the tasks with [HttpRequest]
512 // will be overridden according to the target.
513 type HttpTarget struct {
514 state protoimpl.MessageState
515 sizeCache protoimpl.SizeCache
516 unknownFields protoimpl.UnknownFields
517
518 // URI override.
519 //
520 // When specified, overrides the execution URI for all the tasks in the queue.
521 UriOverride *UriOverride `protobuf:"bytes,1,opt,name=uri_override,json=uriOverride,proto3" json:"uri_override,omitempty"`
522 // The HTTP method to use for the request.
523 //
524 // When specified, it overrides
525 // [HttpRequest][google.cloud.tasks.v2beta3.HttpTarget.http_method] for the
526 // task. Note that if the value is set to [HttpMethod][GET] the
527 // [HttpRequest][body] of the task will be ignored at execution time.
528 HttpMethod HttpMethod `protobuf:"varint,2,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.tasks.v2beta3.HttpMethod" json:"http_method,omitempty"`
529 // HTTP target headers.
530 //
531 // This map contains the header field names and values.
532 // Headers will be set when running the
533 // [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask] and/or
534 // [BufferTask][google.cloud.tasks.v2beta3.CloudTasks.BufferTask].
535 //
536 // These headers represent a subset of the headers that will be configured for
537 // the task's HTTP request. Some HTTP request headers will be ignored or
538 // replaced.
539 //
540 // A partial list of headers that will be ignored or replaced is:
541 // * Several predefined headers, prefixed with "X-CloudTasks-", can
542 // be used to define properties of the task.
543 // * Host: This will be computed by Cloud Tasks and derived from
544 // [HttpRequest.url][google.cloud.tasks.v2beta3.Target.HttpRequest.url].
545 // * Content-Length: This will be computed by Cloud Tasks.
546 //
547 // `Content-Type` won't be set by Cloud Tasks. You can explicitly set
548 // `Content-Type` to a media type when the
549 //
550 // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
551 // For example,`Content-Type` can be set to `"application/octet-stream"` or
552 // `"application/json"`. The default value is set to `"application/json"`.
553 //
554 // * User-Agent: This will be set to `"Google-Cloud-Tasks"`.
555 //
556 // Headers which can have multiple values (according to RFC2616) can be
557 // specified using comma-separated values.
558 //
559 // The size of the headers must be less than 80KB.
560 // Queue-level headers to override headers of all the tasks in the queue.
561 HeaderOverrides []*HttpTarget_HeaderOverride `protobuf:"bytes,3,rep,name=header_overrides,json=headerOverrides,proto3" json:"header_overrides,omitempty"`
562 // The mode for generating an `Authorization` header for HTTP requests.
563 //
564 // If specified, all `Authorization` headers in the
565 // [HttpRequest.headers][google.cloud.tasks.v2beta3.HttpRequest.headers] field
566 // will be overridden.
567 //
568 // Types that are assignable to AuthorizationHeader:
569 //
570 // *HttpTarget_OauthToken
571 // *HttpTarget_OidcToken
572 AuthorizationHeader isHttpTarget_AuthorizationHeader `protobuf_oneof:"authorization_header"`
573 }
574
575 func (x *HttpTarget) Reset() {
576 *x = HttpTarget{}
577 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[4]
578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
579 ms.StoreMessageInfo(mi)
580 }
581
582 func (x *HttpTarget) String() string {
583 return protoimpl.X.MessageStringOf(x)
584 }
585
586 func (*HttpTarget) ProtoMessage() {}
587
588 func (x *HttpTarget) ProtoReflect() protoreflect.Message {
589 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[4]
590 if x != nil {
591 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
592 if ms.LoadMessageInfo() == nil {
593 ms.StoreMessageInfo(mi)
594 }
595 return ms
596 }
597 return mi.MessageOf(x)
598 }
599
600 // Deprecated: Use HttpTarget.ProtoReflect.Descriptor instead.
601 func (*HttpTarget) Descriptor() ([]byte, []int) {
602 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{4}
603 }
604
605 func (x *HttpTarget) GetUriOverride() *UriOverride {
606 if x != nil {
607 return x.UriOverride
608 }
609 return nil
610 }
611
612 func (x *HttpTarget) GetHttpMethod() HttpMethod {
613 if x != nil {
614 return x.HttpMethod
615 }
616 return HttpMethod_HTTP_METHOD_UNSPECIFIED
617 }
618
619 func (x *HttpTarget) GetHeaderOverrides() []*HttpTarget_HeaderOverride {
620 if x != nil {
621 return x.HeaderOverrides
622 }
623 return nil
624 }
625
626 func (m *HttpTarget) GetAuthorizationHeader() isHttpTarget_AuthorizationHeader {
627 if m != nil {
628 return m.AuthorizationHeader
629 }
630 return nil
631 }
632
633 func (x *HttpTarget) GetOauthToken() *OAuthToken {
634 if x, ok := x.GetAuthorizationHeader().(*HttpTarget_OauthToken); ok {
635 return x.OauthToken
636 }
637 return nil
638 }
639
640 func (x *HttpTarget) GetOidcToken() *OidcToken {
641 if x, ok := x.GetAuthorizationHeader().(*HttpTarget_OidcToken); ok {
642 return x.OidcToken
643 }
644 return nil
645 }
646
647 type isHttpTarget_AuthorizationHeader interface {
648 isHttpTarget_AuthorizationHeader()
649 }
650
651 type HttpTarget_OauthToken struct {
652 // If specified, an
653 // [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
654 // will be generated and attached as the `Authorization` header in the HTTP
655 // request.
656 //
657 // This type of authorization should generally only be used when calling
658 // Google APIs hosted on *.googleapis.com.
659 OauthToken *OAuthToken `protobuf:"bytes,5,opt,name=oauth_token,json=oauthToken,proto3,oneof"`
660 }
661
662 type HttpTarget_OidcToken struct {
663 // If specified, an
664 // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
665 // token will be generated and attached as an `Authorization` header in the
666 // HTTP request.
667 //
668 // This type of authorization can be used for many scenarios, including
669 // calling Cloud Run, or endpoints where you intend to validate the token
670 // yourself.
671 OidcToken *OidcToken `protobuf:"bytes,6,opt,name=oidc_token,json=oidcToken,proto3,oneof"`
672 }
673
674 func (*HttpTarget_OauthToken) isHttpTarget_AuthorizationHeader() {}
675
676 func (*HttpTarget_OidcToken) isHttpTarget_AuthorizationHeader() {}
677
678 // HTTP request.
679 //
680 // The task will be pushed to the worker as an HTTP request. If the worker
681 // or the redirected worker acknowledges the task by returning a successful HTTP
682 // response code ([`200` - `299`]), the task will be removed from the queue. If
683 // any other HTTP response code is returned or no response is received, the
684 // task will be retried according to the following:
685 //
686 // * User-specified throttling: [retry
687 // configuration][google.cloud.tasks.v2beta3.Queue.retry_config],
688 //
689 // [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits], and the
690 // [queue's state][google.cloud.tasks.v2beta3.Queue.state].
691 //
692 // - System throttling: To prevent the worker from overloading, Cloud Tasks may
693 // temporarily reduce the queue's effective rate. User-specified settings
694 // will not be changed.
695 //
696 // System throttling happens because:
697 //
698 // - Cloud Tasks backs off on all errors. Normally the backoff specified in
699 // [rate limits][google.cloud.tasks.v2beta3.Queue.rate_limits] will be used.
700 // But if the worker returns `429` (Too Many Requests), `503` (Service
701 // Unavailable), or the rate of errors is high, Cloud Tasks will use a
702 // higher backoff rate. The retry specified in the `Retry-After` HTTP
703 // response header is considered.
704 //
705 // - To prevent traffic spikes and to smooth sudden increases in traffic,
706 // dispatches ramp up slowly when the queue is newly created or idle and
707 // if large numbers of tasks suddenly become available to dispatch (due to
708 // spikes in create task rates, the queue being unpaused, or many tasks
709 // that are scheduled at the same time).
710 type HttpRequest struct {
711 state protoimpl.MessageState
712 sizeCache protoimpl.SizeCache
713 unknownFields protoimpl.UnknownFields
714
715 // Required. The full url path that the request will be sent to.
716 //
717 // This string must begin with either "http://" or "https://". Some examples
718 // are: `http://acme.com` and `https://acme.com/sales:8080`. Cloud Tasks will
719 // encode some characters for safety and compatibility. The maximum allowed
720 // URL length is 2083 characters after encoding.
721 //
722 // The `Location` header response from a redirect response [`300` - `399`]
723 // may be followed. The redirect is not counted as a separate attempt.
724 Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
725 // The HTTP method to use for the request. The default is POST.
726 HttpMethod HttpMethod `protobuf:"varint,2,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.tasks.v2beta3.HttpMethod" json:"http_method,omitempty"`
727 // HTTP request headers.
728 //
729 // This map contains the header field names and values.
730 // Headers can be set when the
731 // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
732 //
733 // These headers represent a subset of the headers that will accompany the
734 // task's HTTP request. Some HTTP request headers will be ignored or replaced.
735 //
736 // A partial list of headers that will be ignored or replaced is:
737 //
738 // * Any header that is prefixed with "X-CloudTasks-" will be treated
739 // as service header. Service headers define properties of the task and are
740 // predefined in CloudTask.
741 // - Host: This will be computed by Cloud Tasks and derived from
742 // [HttpRequest.url][google.cloud.tasks.v2beta3.HttpRequest.url].
743 // - Content-Length: This will be computed by Cloud Tasks.
744 // - User-Agent: This will be set to `"Google-Cloud-Tasks"`.
745 // - `X-Google-*`: Google use only.
746 // - `X-AppEngine-*`: Google use only.
747 //
748 // `Content-Type` won't be set by Cloud Tasks. You can explicitly set
749 // `Content-Type` to a media type when the
750 //
751 // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
752 // For example, `Content-Type` can be set to `"application/octet-stream"` or
753 // `"application/json"`.
754 //
755 // Headers which can have multiple values (according to RFC2616) can be
756 // specified using comma-separated values.
757 //
758 // The size of the headers must be less than 80KB.
759 Headers map[string]string `protobuf:"bytes,3,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
760 // HTTP request body.
761 //
762 // A request body is allowed only if the
763 // [HTTP method][google.cloud.tasks.v2beta3.HttpRequest.http_method] is POST,
764 // PUT, or PATCH. It is an error to set body on a task with an incompatible
765 // [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
766 Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
767 // The mode for generating an `Authorization` header for HTTP requests.
768 //
769 // If specified, all `Authorization` headers in the
770 // [HttpRequest.headers][google.cloud.tasks.v2beta3.HttpRequest.headers] field
771 // will be overridden.
772 //
773 // Types that are assignable to AuthorizationHeader:
774 //
775 // *HttpRequest_OauthToken
776 // *HttpRequest_OidcToken
777 AuthorizationHeader isHttpRequest_AuthorizationHeader `protobuf_oneof:"authorization_header"`
778 }
779
780 func (x *HttpRequest) Reset() {
781 *x = HttpRequest{}
782 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[5]
783 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
784 ms.StoreMessageInfo(mi)
785 }
786
787 func (x *HttpRequest) String() string {
788 return protoimpl.X.MessageStringOf(x)
789 }
790
791 func (*HttpRequest) ProtoMessage() {}
792
793 func (x *HttpRequest) ProtoReflect() protoreflect.Message {
794 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[5]
795 if x != nil {
796 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
797 if ms.LoadMessageInfo() == nil {
798 ms.StoreMessageInfo(mi)
799 }
800 return ms
801 }
802 return mi.MessageOf(x)
803 }
804
805 // Deprecated: Use HttpRequest.ProtoReflect.Descriptor instead.
806 func (*HttpRequest) Descriptor() ([]byte, []int) {
807 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{5}
808 }
809
810 func (x *HttpRequest) GetUrl() string {
811 if x != nil {
812 return x.Url
813 }
814 return ""
815 }
816
817 func (x *HttpRequest) GetHttpMethod() HttpMethod {
818 if x != nil {
819 return x.HttpMethod
820 }
821 return HttpMethod_HTTP_METHOD_UNSPECIFIED
822 }
823
824 func (x *HttpRequest) GetHeaders() map[string]string {
825 if x != nil {
826 return x.Headers
827 }
828 return nil
829 }
830
831 func (x *HttpRequest) GetBody() []byte {
832 if x != nil {
833 return x.Body
834 }
835 return nil
836 }
837
838 func (m *HttpRequest) GetAuthorizationHeader() isHttpRequest_AuthorizationHeader {
839 if m != nil {
840 return m.AuthorizationHeader
841 }
842 return nil
843 }
844
845 func (x *HttpRequest) GetOauthToken() *OAuthToken {
846 if x, ok := x.GetAuthorizationHeader().(*HttpRequest_OauthToken); ok {
847 return x.OauthToken
848 }
849 return nil
850 }
851
852 func (x *HttpRequest) GetOidcToken() *OidcToken {
853 if x, ok := x.GetAuthorizationHeader().(*HttpRequest_OidcToken); ok {
854 return x.OidcToken
855 }
856 return nil
857 }
858
859 type isHttpRequest_AuthorizationHeader interface {
860 isHttpRequest_AuthorizationHeader()
861 }
862
863 type HttpRequest_OauthToken struct {
864 // If specified, an
865 // [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
866 // will be generated and attached as an `Authorization` header in the HTTP
867 // request.
868 //
869 // This type of authorization should generally only be used when calling
870 // Google APIs hosted on *.googleapis.com.
871 OauthToken *OAuthToken `protobuf:"bytes,5,opt,name=oauth_token,json=oauthToken,proto3,oneof"`
872 }
873
874 type HttpRequest_OidcToken struct {
875 // If specified, an
876 // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
877 // token will be generated and attached as an `Authorization` header in the
878 // HTTP request.
879 //
880 // This type of authorization can be used for many scenarios, including
881 // calling Cloud Run, or endpoints where you intend to validate the token
882 // yourself.
883 OidcToken *OidcToken `protobuf:"bytes,6,opt,name=oidc_token,json=oidcToken,proto3,oneof"`
884 }
885
886 func (*HttpRequest_OauthToken) isHttpRequest_AuthorizationHeader() {}
887
888 func (*HttpRequest_OidcToken) isHttpRequest_AuthorizationHeader() {}
889
890 // App Engine HTTP queue.
891 //
892 // The task will be delivered to the App Engine application hostname
893 // specified by its
894 // [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue] and
895 // [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]. The
896 // documentation for
897 // [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
898 // explains how the task's host URL is constructed.
899 //
900 // Using [AppEngineHttpQueue][google.cloud.tasks.v2beta3.AppEngineHttpQueue]
901 // requires
902 // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
903 // Google IAM permission for the project
904 // and the following scope:
905 //
906 // `https://www.googleapis.com/auth/cloud-platform`
907 type AppEngineHttpQueue struct {
908 state protoimpl.MessageState
909 sizeCache protoimpl.SizeCache
910 unknownFields protoimpl.UnknownFields
911
912 // Overrides for the
913 // [task-level
914 // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
915 //
916 // If set, `app_engine_routing_override` is used for all tasks in
917 // the queue, no matter what the setting is for the
918 // [task-level
919 // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
920 AppEngineRoutingOverride *AppEngineRouting `protobuf:"bytes,1,opt,name=app_engine_routing_override,json=appEngineRoutingOverride,proto3" json:"app_engine_routing_override,omitempty"`
921 }
922
923 func (x *AppEngineHttpQueue) Reset() {
924 *x = AppEngineHttpQueue{}
925 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[6]
926 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
927 ms.StoreMessageInfo(mi)
928 }
929
930 func (x *AppEngineHttpQueue) String() string {
931 return protoimpl.X.MessageStringOf(x)
932 }
933
934 func (*AppEngineHttpQueue) ProtoMessage() {}
935
936 func (x *AppEngineHttpQueue) ProtoReflect() protoreflect.Message {
937 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[6]
938 if x != nil {
939 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
940 if ms.LoadMessageInfo() == nil {
941 ms.StoreMessageInfo(mi)
942 }
943 return ms
944 }
945 return mi.MessageOf(x)
946 }
947
948 // Deprecated: Use AppEngineHttpQueue.ProtoReflect.Descriptor instead.
949 func (*AppEngineHttpQueue) Descriptor() ([]byte, []int) {
950 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{6}
951 }
952
953 func (x *AppEngineHttpQueue) GetAppEngineRoutingOverride() *AppEngineRouting {
954 if x != nil {
955 return x.AppEngineRoutingOverride
956 }
957 return nil
958 }
959
960 // App Engine HTTP request.
961 //
962 // The message defines the HTTP request that is sent to an App Engine app when
963 // the task is dispatched.
964 //
965 // Using [AppEngineHttpRequest][google.cloud.tasks.v2beta3.AppEngineHttpRequest]
966 // requires
967 // [`appengine.applications.get`](https://cloud.google.com/appengine/docs/admin-api/access-control)
968 // Google IAM permission for the project
969 // and the following scope:
970 //
971 // `https://www.googleapis.com/auth/cloud-platform`
972 //
973 // The task will be delivered to the App Engine app which belongs to the same
974 // project as the queue. For more information, see
975 // [How Requests are
976 // Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
977 // and how routing is affected by
978 // [dispatch
979 // files](https://cloud.google.com/appengine/docs/python/config/dispatchref).
980 // Traffic is encrypted during transport and never leaves Google datacenters.
981 // Because this traffic is carried over a communication mechanism internal to
982 // Google, you cannot explicitly set the protocol (for example, HTTP or HTTPS).
983 // The request to the handler, however, will appear to have used the HTTP
984 // protocol.
985 //
986 // The [AppEngineRouting][google.cloud.tasks.v2beta3.AppEngineRouting] used to
987 // construct the URL that the task is delivered to can be set at the queue-level
988 // or task-level:
989 //
990 // - If set,
991 // [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
992 // is used for all tasks in the queue, no matter what the setting
993 // is for the
994 // [task-level
995 // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
996 //
997 // The `url` that the task will be sent to is:
998 //
999 // - `url =` [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] `+`
1000 // [relative_uri][google.cloud.tasks.v2beta3.AppEngineHttpRequest.relative_uri]
1001 //
1002 // Tasks can be dispatched to secure app handlers, unsecure app handlers, and
1003 // URIs restricted with
1004 // [`login:
1005 // admin`](https://cloud.google.com/appengine/docs/standard/python/config/appref).
1006 // Because tasks are not run as any user, they cannot be dispatched to URIs
1007 // restricted with
1008 // [`login:
1009 // required`](https://cloud.google.com/appengine/docs/standard/python/config/appref)
1010 // Task dispatches also do not follow redirects.
1011 //
1012 // The task attempt has succeeded if the app's request handler returns an HTTP
1013 // response code in the range [`200` - `299`]. The task attempt has failed if
1014 // the app's handler returns a non-2xx response code or Cloud Tasks does
1015 // not receive response before the
1016 // [deadline][google.cloud.tasks.v2beta3.Task.dispatch_deadline]. Failed tasks
1017 // will be retried according to the [retry
1018 // configuration][google.cloud.tasks.v2beta3.Queue.retry_config]. `503` (Service
1019 // Unavailable) is considered an App Engine system error instead of an
1020 // application error and will cause Cloud Tasks' traffic congestion control to
1021 // temporarily throttle the queue's dispatches. Unlike other types of task
1022 // targets, a `429` (Too Many Requests) response from an app handler does not
1023 // cause traffic congestion control to throttle the queue.
1024 type AppEngineHttpRequest struct {
1025 state protoimpl.MessageState
1026 sizeCache protoimpl.SizeCache
1027 unknownFields protoimpl.UnknownFields
1028
1029 // The HTTP method to use for the request. The default is POST.
1030 //
1031 // The app's request handler for the task's target URL must be able to handle
1032 // HTTP requests with this http_method, otherwise the task attempt fails with
1033 // error code 405 (Method Not Allowed). See [Writing a push task request
1034 // handler](https://cloud.google.com/appengine/docs/java/taskqueue/push/creating-handlers#writing_a_push_task_request_handler)
1035 // and the App Engine documentation for your runtime on [How Requests are
1036 // Handled](https://cloud.google.com/appengine/docs/standard/python3/how-requests-are-handled).
1037 HttpMethod HttpMethod `protobuf:"varint,1,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.tasks.v2beta3.HttpMethod" json:"http_method,omitempty"`
1038 // Task-level setting for App Engine routing.
1039 //
1040 // If set,
1041 // [app_engine_routing_override][google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override]
1042 // is used for all tasks in the queue, no matter what the setting is for the
1043 // [task-level
1044 // app_engine_routing][google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing].
1045 AppEngineRouting *AppEngineRouting `protobuf:"bytes,2,opt,name=app_engine_routing,json=appEngineRouting,proto3" json:"app_engine_routing,omitempty"`
1046 // The relative URI.
1047 //
1048 // The relative URI must begin with "/" and must be a valid HTTP relative URI.
1049 // It can contain a path and query string arguments.
1050 // If the relative URI is empty, then the root path "/" will be used.
1051 // No spaces are allowed, and the maximum length allowed is 2083 characters.
1052 RelativeUri string `protobuf:"bytes,3,opt,name=relative_uri,json=relativeUri,proto3" json:"relative_uri,omitempty"`
1053 // HTTP request headers.
1054 //
1055 // This map contains the header field names and values.
1056 // Headers can be set when the
1057 // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
1058 // Repeated headers are not supported but a header value can contain commas.
1059 //
1060 // Cloud Tasks sets some headers to default values:
1061 //
1062 // - `User-Agent`: By default, this header is
1063 // `"AppEngine-Google; (+http://code.google.com/appengine)"`.
1064 // This header can be modified, but Cloud Tasks will append
1065 // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
1066 // modified `User-Agent`.
1067 //
1068 // If the task has a
1069 // [body][google.cloud.tasks.v2beta3.AppEngineHttpRequest.body], Cloud Tasks
1070 // sets the following headers:
1071 //
1072 // - `Content-Type`: By default, the `Content-Type` header is set to
1073 // `"application/octet-stream"`. The default can be overridden by explicitly
1074 // setting `Content-Type` to a particular media type when the
1075 // [task is created][google.cloud.tasks.v2beta3.CloudTasks.CreateTask].
1076 // For example, `Content-Type` can be set to `"application/json"`.
1077 // - `Content-Length`: This is computed by Cloud Tasks. This value is
1078 // output only. It cannot be changed.
1079 //
1080 // The headers below cannot be set or overridden:
1081 //
1082 // * `Host`
1083 // * `X-Google-*`
1084 // * `X-AppEngine-*`
1085 //
1086 // In addition, Cloud Tasks sets some headers when the task is dispatched,
1087 // such as headers containing information about the task; see
1088 // [request
1089 // headers](https://cloud.google.com/tasks/docs/creating-appengine-handlers#reading_request_headers).
1090 // These headers are set only when the task is dispatched, so they are not
1091 // visible when the task is returned in a Cloud Tasks response.
1092 //
1093 // Although there is no specific limit for the maximum number of headers or
1094 // the size, there is a limit on the maximum size of the
1095 // [Task][google.cloud.tasks.v2beta3.Task]. For more information, see the
1096 // [CreateTask][google.cloud.tasks.v2beta3.CloudTasks.CreateTask]
1097 // documentation.
1098 Headers map[string]string `protobuf:"bytes,4,rep,name=headers,proto3" json:"headers,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
1099 // HTTP request body.
1100 //
1101 // A request body is allowed only if the HTTP method is POST or PUT. It is
1102 // an error to set a body on a task with an incompatible
1103 // [HttpMethod][google.cloud.tasks.v2beta3.HttpMethod].
1104 Body []byte `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
1105 }
1106
1107 func (x *AppEngineHttpRequest) Reset() {
1108 *x = AppEngineHttpRequest{}
1109 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[7]
1110 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1111 ms.StoreMessageInfo(mi)
1112 }
1113
1114 func (x *AppEngineHttpRequest) String() string {
1115 return protoimpl.X.MessageStringOf(x)
1116 }
1117
1118 func (*AppEngineHttpRequest) ProtoMessage() {}
1119
1120 func (x *AppEngineHttpRequest) ProtoReflect() protoreflect.Message {
1121 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[7]
1122 if x != nil {
1123 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1124 if ms.LoadMessageInfo() == nil {
1125 ms.StoreMessageInfo(mi)
1126 }
1127 return ms
1128 }
1129 return mi.MessageOf(x)
1130 }
1131
1132 // Deprecated: Use AppEngineHttpRequest.ProtoReflect.Descriptor instead.
1133 func (*AppEngineHttpRequest) Descriptor() ([]byte, []int) {
1134 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{7}
1135 }
1136
1137 func (x *AppEngineHttpRequest) GetHttpMethod() HttpMethod {
1138 if x != nil {
1139 return x.HttpMethod
1140 }
1141 return HttpMethod_HTTP_METHOD_UNSPECIFIED
1142 }
1143
1144 func (x *AppEngineHttpRequest) GetAppEngineRouting() *AppEngineRouting {
1145 if x != nil {
1146 return x.AppEngineRouting
1147 }
1148 return nil
1149 }
1150
1151 func (x *AppEngineHttpRequest) GetRelativeUri() string {
1152 if x != nil {
1153 return x.RelativeUri
1154 }
1155 return ""
1156 }
1157
1158 func (x *AppEngineHttpRequest) GetHeaders() map[string]string {
1159 if x != nil {
1160 return x.Headers
1161 }
1162 return nil
1163 }
1164
1165 func (x *AppEngineHttpRequest) GetBody() []byte {
1166 if x != nil {
1167 return x.Body
1168 }
1169 return nil
1170 }
1171
1172 // App Engine Routing.
1173 //
1174 // Defines routing characteristics specific to App Engine - service, version,
1175 // and instance.
1176 //
1177 // For more information about services, versions, and instances see
1178 // [An Overview of App
1179 // Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
1180 // [Microservices Architecture on Google App
1181 // Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),
1182 // [App Engine Standard request
1183 // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed),
1184 // and [App Engine Flex request
1185 // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
1186 type AppEngineRouting struct {
1187 state protoimpl.MessageState
1188 sizeCache protoimpl.SizeCache
1189 unknownFields protoimpl.UnknownFields
1190
1191 // App service.
1192 //
1193 // By default, the task is sent to the service which is the default
1194 // service when the task is attempted.
1195 //
1196 // For some queues or tasks which were created using the App Engine
1197 // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is
1198 // not parsable into
1199 // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
1200 // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
1201 // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For
1202 // example, some tasks which were created using the App Engine SDK use a
1203 // custom domain name; custom domains are not parsed by Cloud Tasks. If
1204 // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable,
1205 // then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
1206 // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
1207 // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the
1208 // empty string.
1209 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
1210 // App version.
1211 //
1212 // By default, the task is sent to the version which is the default
1213 // version when the task is attempted.
1214 //
1215 // For some queues or tasks which were created using the App Engine
1216 // Task Queue API, [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is
1217 // not parsable into
1218 // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
1219 // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
1220 // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. For
1221 // example, some tasks which were created using the App Engine SDK use a
1222 // custom domain name; custom domains are not parsed by Cloud Tasks. If
1223 // [host][google.cloud.tasks.v2beta3.AppEngineRouting.host] is not parsable,
1224 // then [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
1225 // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
1226 // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance] are the
1227 // empty string.
1228 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
1229 // App instance.
1230 //
1231 // By default, the task is sent to an instance which is available when
1232 // the task is attempted.
1233 //
1234 // Requests can only be sent to a specific instance if
1235 // [manual scaling is used in App Engine
1236 // Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?hl=en_US#scaling_types_and_instance_classes).
1237 // App Engine Flex does not support instances. For more information, see
1238 // [App Engine Standard request
1239 // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
1240 // and [App Engine Flex request
1241 // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
1242 Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
1243 // Output only. The host that the task is sent to.
1244 //
1245 // The host is constructed from the domain name of the app associated with
1246 // the queue's project ID (for example <app-id>.appspot.com), and the
1247 // [service][google.cloud.tasks.v2beta3.AppEngineRouting.service],
1248 // [version][google.cloud.tasks.v2beta3.AppEngineRouting.version], and
1249 // [instance][google.cloud.tasks.v2beta3.AppEngineRouting.instance]. Tasks
1250 // which were created using the App Engine SDK might have a custom domain
1251 // name.
1252 //
1253 // For more information, see
1254 // [How Requests are
1255 // Routed](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
1256 Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
1257 }
1258
1259 func (x *AppEngineRouting) Reset() {
1260 *x = AppEngineRouting{}
1261 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[8]
1262 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1263 ms.StoreMessageInfo(mi)
1264 }
1265
1266 func (x *AppEngineRouting) String() string {
1267 return protoimpl.X.MessageStringOf(x)
1268 }
1269
1270 func (*AppEngineRouting) ProtoMessage() {}
1271
1272 func (x *AppEngineRouting) ProtoReflect() protoreflect.Message {
1273 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[8]
1274 if x != nil {
1275 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1276 if ms.LoadMessageInfo() == nil {
1277 ms.StoreMessageInfo(mi)
1278 }
1279 return ms
1280 }
1281 return mi.MessageOf(x)
1282 }
1283
1284 // Deprecated: Use AppEngineRouting.ProtoReflect.Descriptor instead.
1285 func (*AppEngineRouting) Descriptor() ([]byte, []int) {
1286 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{8}
1287 }
1288
1289 func (x *AppEngineRouting) GetService() string {
1290 if x != nil {
1291 return x.Service
1292 }
1293 return ""
1294 }
1295
1296 func (x *AppEngineRouting) GetVersion() string {
1297 if x != nil {
1298 return x.Version
1299 }
1300 return ""
1301 }
1302
1303 func (x *AppEngineRouting) GetInstance() string {
1304 if x != nil {
1305 return x.Instance
1306 }
1307 return ""
1308 }
1309
1310 func (x *AppEngineRouting) GetHost() string {
1311 if x != nil {
1312 return x.Host
1313 }
1314 return ""
1315 }
1316
1317 // Contains information needed for generating an
1318 // [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
1319 // This type of authorization should generally only be used when calling Google
1320 // APIs hosted on *.googleapis.com.
1321 type OAuthToken struct {
1322 state protoimpl.MessageState
1323 sizeCache protoimpl.SizeCache
1324 unknownFields protoimpl.UnknownFields
1325
1326 // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
1327 // to be used for generating OAuth token.
1328 // The service account must be within the same project as the queue. The
1329 // caller must have iam.serviceAccounts.actAs permission for the service
1330 // account.
1331 ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
1332 // OAuth scope to be used for generating OAuth access token.
1333 // If not specified, "https://www.googleapis.com/auth/cloud-platform"
1334 // will be used.
1335 Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
1336 }
1337
1338 func (x *OAuthToken) Reset() {
1339 *x = OAuthToken{}
1340 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[9]
1341 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1342 ms.StoreMessageInfo(mi)
1343 }
1344
1345 func (x *OAuthToken) String() string {
1346 return protoimpl.X.MessageStringOf(x)
1347 }
1348
1349 func (*OAuthToken) ProtoMessage() {}
1350
1351 func (x *OAuthToken) ProtoReflect() protoreflect.Message {
1352 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[9]
1353 if x != nil {
1354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1355 if ms.LoadMessageInfo() == nil {
1356 ms.StoreMessageInfo(mi)
1357 }
1358 return ms
1359 }
1360 return mi.MessageOf(x)
1361 }
1362
1363 // Deprecated: Use OAuthToken.ProtoReflect.Descriptor instead.
1364 func (*OAuthToken) Descriptor() ([]byte, []int) {
1365 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{9}
1366 }
1367
1368 func (x *OAuthToken) GetServiceAccountEmail() string {
1369 if x != nil {
1370 return x.ServiceAccountEmail
1371 }
1372 return ""
1373 }
1374
1375 func (x *OAuthToken) GetScope() string {
1376 if x != nil {
1377 return x.Scope
1378 }
1379 return ""
1380 }
1381
1382 // Contains information needed for generating an
1383 // [OpenID Connect
1384 // token](https://developers.google.com/identity/protocols/OpenIDConnect).
1385 // This type of authorization can be used for many scenarios, including
1386 // calling Cloud Run, or endpoints where you intend to validate the token
1387 // yourself.
1388 type OidcToken struct {
1389 state protoimpl.MessageState
1390 sizeCache protoimpl.SizeCache
1391 unknownFields protoimpl.UnknownFields
1392
1393 // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
1394 // to be used for generating OIDC token.
1395 // The service account must be within the same project as the queue. The
1396 // caller must have iam.serviceAccounts.actAs permission for the service
1397 // account.
1398 ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
1399 // Audience to be used when generating OIDC token. If not specified, the URI
1400 // specified in target will be used.
1401 Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"`
1402 }
1403
1404 func (x *OidcToken) Reset() {
1405 *x = OidcToken{}
1406 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[10]
1407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1408 ms.StoreMessageInfo(mi)
1409 }
1410
1411 func (x *OidcToken) String() string {
1412 return protoimpl.X.MessageStringOf(x)
1413 }
1414
1415 func (*OidcToken) ProtoMessage() {}
1416
1417 func (x *OidcToken) ProtoReflect() protoreflect.Message {
1418 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[10]
1419 if x != nil {
1420 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1421 if ms.LoadMessageInfo() == nil {
1422 ms.StoreMessageInfo(mi)
1423 }
1424 return ms
1425 }
1426 return mi.MessageOf(x)
1427 }
1428
1429 // Deprecated: Use OidcToken.ProtoReflect.Descriptor instead.
1430 func (*OidcToken) Descriptor() ([]byte, []int) {
1431 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{10}
1432 }
1433
1434 func (x *OidcToken) GetServiceAccountEmail() string {
1435 if x != nil {
1436 return x.ServiceAccountEmail
1437 }
1438 return ""
1439 }
1440
1441 func (x *OidcToken) GetAudience() string {
1442 if x != nil {
1443 return x.Audience
1444 }
1445 return ""
1446 }
1447
1448 // Defines a header message. A header can have a key and a value.
1449 type HttpTarget_Header struct {
1450 state protoimpl.MessageState
1451 sizeCache protoimpl.SizeCache
1452 unknownFields protoimpl.UnknownFields
1453
1454 // The Key of the header.
1455 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
1456 // The Value of the header.
1457 Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
1458 }
1459
1460 func (x *HttpTarget_Header) Reset() {
1461 *x = HttpTarget_Header{}
1462 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[11]
1463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1464 ms.StoreMessageInfo(mi)
1465 }
1466
1467 func (x *HttpTarget_Header) String() string {
1468 return protoimpl.X.MessageStringOf(x)
1469 }
1470
1471 func (*HttpTarget_Header) ProtoMessage() {}
1472
1473 func (x *HttpTarget_Header) ProtoReflect() protoreflect.Message {
1474 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[11]
1475 if x != nil {
1476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1477 if ms.LoadMessageInfo() == nil {
1478 ms.StoreMessageInfo(mi)
1479 }
1480 return ms
1481 }
1482 return mi.MessageOf(x)
1483 }
1484
1485 // Deprecated: Use HttpTarget_Header.ProtoReflect.Descriptor instead.
1486 func (*HttpTarget_Header) Descriptor() ([]byte, []int) {
1487 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{4, 0}
1488 }
1489
1490 func (x *HttpTarget_Header) GetKey() string {
1491 if x != nil {
1492 return x.Key
1493 }
1494 return ""
1495 }
1496
1497 func (x *HttpTarget_Header) GetValue() string {
1498 if x != nil {
1499 return x.Value
1500 }
1501 return ""
1502 }
1503
1504 // Wraps the Header object.
1505 type HttpTarget_HeaderOverride struct {
1506 state protoimpl.MessageState
1507 sizeCache protoimpl.SizeCache
1508 unknownFields protoimpl.UnknownFields
1509
1510 // header embodying a key and a value.
1511 Header *HttpTarget_Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
1512 }
1513
1514 func (x *HttpTarget_HeaderOverride) Reset() {
1515 *x = HttpTarget_HeaderOverride{}
1516 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[12]
1517 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1518 ms.StoreMessageInfo(mi)
1519 }
1520
1521 func (x *HttpTarget_HeaderOverride) String() string {
1522 return protoimpl.X.MessageStringOf(x)
1523 }
1524
1525 func (*HttpTarget_HeaderOverride) ProtoMessage() {}
1526
1527 func (x *HttpTarget_HeaderOverride) ProtoReflect() protoreflect.Message {
1528 mi := &file_google_cloud_tasks_v2beta3_target_proto_msgTypes[12]
1529 if x != nil {
1530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1531 if ms.LoadMessageInfo() == nil {
1532 ms.StoreMessageInfo(mi)
1533 }
1534 return ms
1535 }
1536 return mi.MessageOf(x)
1537 }
1538
1539 // Deprecated: Use HttpTarget_HeaderOverride.ProtoReflect.Descriptor instead.
1540 func (*HttpTarget_HeaderOverride) Descriptor() ([]byte, []int) {
1541 return file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP(), []int{4, 1}
1542 }
1543
1544 func (x *HttpTarget_HeaderOverride) GetHeader() *HttpTarget_Header {
1545 if x != nil {
1546 return x.Header
1547 }
1548 return nil
1549 }
1550
1551 var File_google_cloud_tasks_v2beta3_target_proto protoreflect.FileDescriptor
1552
1553 var file_google_cloud_tasks_v2beta3_target_proto_rawDesc = []byte{
1554 0x0a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x74,
1555 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x74, 0x61, 0x72,
1556 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1557 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32,
1558 0x62, 0x65, 0x74, 0x61, 0x33, 0x22, 0x39, 0x0a, 0x0b, 0x50, 0x75, 0x6c, 0x6c, 0x4d, 0x65, 0x73,
1559 0x73, 0x61, 0x67, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18,
1560 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x10,
1561 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67,
1562 0x22, 0x22, 0x0a, 0x0c, 0x50, 0x61, 0x74, 0x68, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
1563 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
1564 0x70, 0x61, 0x74, 0x68, 0x22, 0x32, 0x0a, 0x0d, 0x51, 0x75, 0x65, 0x72, 0x79, 0x4f, 0x76, 0x65,
1565 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70,
1566 0x61, 0x72, 0x61, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x71, 0x75, 0x65,
1567 0x72, 0x79, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x22, 0xe0, 0x04, 0x0a, 0x0b, 0x55, 0x72, 0x69,
1568 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x4b, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65,
1569 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1570 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32,
1571 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x55, 0x72, 0x69, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64,
1572 0x65, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x48, 0x00, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65,
1573 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x17, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20,
1574 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x88, 0x01, 0x01, 0x12, 0x17,
1575 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x02, 0x52, 0x04,
1576 0x70, 0x6f, 0x72, 0x74, 0x88, 0x01, 0x01, 0x12, 0x4d, 0x0a, 0x0d, 0x70, 0x61, 0x74, 0x68, 0x5f,
1577 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28,
1578 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
1579 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x50, 0x61, 0x74, 0x68,
1580 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x0c, 0x70, 0x61, 0x74, 0x68, 0x4f, 0x76,
1581 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x50, 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f,
1582 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29,
1583 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
1584 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x51, 0x75, 0x65, 0x72,
1585 0x79, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79,
1586 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x79, 0x0a, 0x19, 0x75, 0x72, 0x69, 0x5f,
1587 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x5f, 0x65, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65,
1588 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x6f,
1589 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73,
1590 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x55, 0x72, 0x69, 0x4f, 0x76, 0x65, 0x72,
1591 0x72, 0x69, 0x64, 0x65, 0x2e, 0x55, 0x72, 0x69, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
1592 0x45, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x16, 0x75, 0x72, 0x69,
1593 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x45, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65, 0x4d,
1594 0x6f, 0x64, 0x65, 0x22, 0x35, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x16, 0x0a,
1595 0x12, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
1596 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12,
1597 0x09, 0x0a, 0x05, 0x48, 0x54, 0x54, 0x50, 0x53, 0x10, 0x02, 0x22, 0x62, 0x0a, 0x16, 0x55, 0x72,
1598 0x69, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x45, 0x6e, 0x66, 0x6f, 0x72, 0x63, 0x65,
1599 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x25, 0x55, 0x52, 0x49, 0x5f, 0x4f, 0x56, 0x45, 0x52,
1600 0x52, 0x49, 0x44, 0x45, 0x5f, 0x45, 0x4e, 0x46, 0x4f, 0x52, 0x43, 0x45, 0x5f, 0x4d, 0x4f, 0x44,
1601 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
1602 0x11, 0x0a, 0x0d, 0x49, 0x46, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x45, 0x58, 0x49, 0x53, 0x54, 0x53,
1603 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x4c, 0x57, 0x41, 0x59, 0x53, 0x10, 0x02, 0x42, 0x09,
1604 0x0a, 0x07, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x68, 0x6f,
1605 0x73, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x5f, 0x70, 0x6f, 0x72, 0x74, 0x22, 0xb9, 0x04, 0x0a, 0x0a,
1606 0x48, 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x4a, 0x0a, 0x0c, 0x75, 0x72,
1607 0x69, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
1608 0x32, 0x27, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1609 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x55, 0x72,
1610 0x69, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x52, 0x0b, 0x75, 0x72, 0x69, 0x4f, 0x76,
1611 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x47, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x6d,
1612 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26, 0x2e, 0x67, 0x6f,
1613 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73,
1614 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74,
1615 0x68, 0x6f, 0x64, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
1616 0x60, 0x0a, 0x10, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69,
1617 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1618 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76,
1619 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65,
1620 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
1621 0x52, 0x0f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65,
1622 0x73, 0x12, 0x49, 0x0a, 0x0b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
1623 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1624 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65,
1625 0x74, 0x61, 0x33, 0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x00,
1626 0x52, 0x0a, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x46, 0x0a, 0x0a,
1627 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
1628 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
1629 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4f, 0x69,
1630 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x00, 0x52, 0x09, 0x6f, 0x69, 0x64, 0x63, 0x54,
1631 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x30, 0x0a, 0x06, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x10,
1632 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
1633 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
1634 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x1a, 0x57, 0x0a, 0x0e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72,
1635 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12, 0x45, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64,
1636 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1637 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32,
1638 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
1639 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x42,
1640 0x16, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
1641 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0xb3, 0x03, 0x0a, 0x0b, 0x48, 0x74, 0x74, 0x70,
1642 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01,
1643 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x47, 0x0a, 0x0b, 0x68, 0x74, 0x74,
1644 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x26,
1645 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61,
1646 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x48, 0x74, 0x74, 0x70,
1647 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74, 0x68,
1648 0x6f, 0x64, 0x12, 0x4e, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x03, 0x20,
1649 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1650 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33,
1651 0x2e, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61,
1652 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65,
1653 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c,
1654 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x49, 0x0a, 0x0b, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x5f,
1655 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f,
1656 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73,
1657 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x54, 0x6f,
1658 0x6b, 0x65, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65,
1659 0x6e, 0x12, 0x46, 0x0a, 0x0a, 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18,
1660 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
1661 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74,
1662 0x61, 0x33, 0x2e, 0x4f, 0x69, 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x00, 0x52, 0x09,
1663 0x6f, 0x69, 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61,
1664 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
1665 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
1666 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
1667 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x16, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69,
1668 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x81, 0x01,
1669 0x0a, 0x12, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x48, 0x74, 0x74, 0x70, 0x51,
1670 0x75, 0x65, 0x75, 0x65, 0x12, 0x6b, 0x0a, 0x1b, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69,
1671 0x6e, 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72,
1672 0x69, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
1673 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76,
1674 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65,
1675 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x18, 0x61, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69,
1676 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64,
1677 0x65, 0x22, 0x87, 0x03, 0x0a, 0x14, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x48,
1678 0x74, 0x74, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0b, 0x68, 0x74,
1679 0x74, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32,
1680 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74,
1681 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x48, 0x74, 0x74,
1682 0x70, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74,
1683 0x68, 0x6f, 0x64, 0x12, 0x5a, 0x0a, 0x12, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e,
1684 0x65, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32,
1685 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x74,
1686 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2e, 0x41, 0x70, 0x70,
1687 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x10, 0x61,
1688 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12,
1689 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18,
1690 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x55,
1691 0x72, 0x69, 0x12, 0x57, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20,
1692 0x03, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
1693 0x75, 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33,
1694 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65,
1695 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74,
1696 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62,
1697 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x1a,
1698 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12,
1699 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65,
1700 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
1701 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x76, 0x0a, 0x10, 0x41,
1702 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12,
1703 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1704 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72,
1705 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73,
1706 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18,
1707 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12,
1708 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x68,
1709 0x6f, 0x73, 0x74, 0x22, 0x56, 0x0a, 0x0a, 0x4f, 0x41, 0x75, 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65,
1710 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63,
1711 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
1712 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74,
1713 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02,
1714 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x22, 0x5b, 0x0a, 0x09, 0x4f,
1715 0x69, 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76,
1716 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69,
1717 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
1718 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08,
1719 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
1720 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x2a, 0x73, 0x0a, 0x0a, 0x48, 0x74, 0x74, 0x70,
1721 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1b, 0x0a, 0x17, 0x48, 0x54, 0x54, 0x50, 0x5f, 0x4d,
1722 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
1723 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53, 0x54, 0x10, 0x01, 0x12, 0x07, 0x0a,
1724 0x03, 0x47, 0x45, 0x54, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x45, 0x41, 0x44, 0x10, 0x03,
1725 0x12, 0x07, 0x0a, 0x03, 0x50, 0x55, 0x54, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c,
1726 0x45, 0x54, 0x45, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x50, 0x41, 0x54, 0x43, 0x48, 0x10, 0x06,
1727 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x07, 0x42, 0x74, 0x0a,
1728 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
1729 0x64, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x42,
1730 0x0b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43,
1731 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
1732 0x2f, 0x67, 0x6f, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x61,
1733 0x70, 0x69, 0x76, 0x32, 0x62, 0x65, 0x74, 0x61, 0x33, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74,
1734 0x61, 0x73, 0x6b, 0x73, 0x70, 0x62, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x74, 0x61, 0x73, 0x6b,
1735 0x73, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1736 }
1737
1738 var (
1739 file_google_cloud_tasks_v2beta3_target_proto_rawDescOnce sync.Once
1740 file_google_cloud_tasks_v2beta3_target_proto_rawDescData = file_google_cloud_tasks_v2beta3_target_proto_rawDesc
1741 )
1742
1743 func file_google_cloud_tasks_v2beta3_target_proto_rawDescGZIP() []byte {
1744 file_google_cloud_tasks_v2beta3_target_proto_rawDescOnce.Do(func() {
1745 file_google_cloud_tasks_v2beta3_target_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_tasks_v2beta3_target_proto_rawDescData)
1746 })
1747 return file_google_cloud_tasks_v2beta3_target_proto_rawDescData
1748 }
1749
1750 var file_google_cloud_tasks_v2beta3_target_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
1751 var file_google_cloud_tasks_v2beta3_target_proto_msgTypes = make([]protoimpl.MessageInfo, 15)
1752 var file_google_cloud_tasks_v2beta3_target_proto_goTypes = []any{
1753 (HttpMethod)(0), // 0: google.cloud.tasks.v2beta3.HttpMethod
1754 (UriOverride_Scheme)(0), // 1: google.cloud.tasks.v2beta3.UriOverride.Scheme
1755 (UriOverride_UriOverrideEnforceMode)(0), // 2: google.cloud.tasks.v2beta3.UriOverride.UriOverrideEnforceMode
1756 (*PullMessage)(nil), // 3: google.cloud.tasks.v2beta3.PullMessage
1757 (*PathOverride)(nil), // 4: google.cloud.tasks.v2beta3.PathOverride
1758 (*QueryOverride)(nil), // 5: google.cloud.tasks.v2beta3.QueryOverride
1759 (*UriOverride)(nil), // 6: google.cloud.tasks.v2beta3.UriOverride
1760 (*HttpTarget)(nil), // 7: google.cloud.tasks.v2beta3.HttpTarget
1761 (*HttpRequest)(nil), // 8: google.cloud.tasks.v2beta3.HttpRequest
1762 (*AppEngineHttpQueue)(nil), // 9: google.cloud.tasks.v2beta3.AppEngineHttpQueue
1763 (*AppEngineHttpRequest)(nil), // 10: google.cloud.tasks.v2beta3.AppEngineHttpRequest
1764 (*AppEngineRouting)(nil), // 11: google.cloud.tasks.v2beta3.AppEngineRouting
1765 (*OAuthToken)(nil), // 12: google.cloud.tasks.v2beta3.OAuthToken
1766 (*OidcToken)(nil), // 13: google.cloud.tasks.v2beta3.OidcToken
1767 (*HttpTarget_Header)(nil), // 14: google.cloud.tasks.v2beta3.HttpTarget.Header
1768 (*HttpTarget_HeaderOverride)(nil), // 15: google.cloud.tasks.v2beta3.HttpTarget.HeaderOverride
1769 nil, // 16: google.cloud.tasks.v2beta3.HttpRequest.HeadersEntry
1770 nil, // 17: google.cloud.tasks.v2beta3.AppEngineHttpRequest.HeadersEntry
1771 }
1772 var file_google_cloud_tasks_v2beta3_target_proto_depIdxs = []int32{
1773 1, // 0: google.cloud.tasks.v2beta3.UriOverride.scheme:type_name -> google.cloud.tasks.v2beta3.UriOverride.Scheme
1774 4, // 1: google.cloud.tasks.v2beta3.UriOverride.path_override:type_name -> google.cloud.tasks.v2beta3.PathOverride
1775 5, // 2: google.cloud.tasks.v2beta3.UriOverride.query_override:type_name -> google.cloud.tasks.v2beta3.QueryOverride
1776 2, // 3: google.cloud.tasks.v2beta3.UriOverride.uri_override_enforce_mode:type_name -> google.cloud.tasks.v2beta3.UriOverride.UriOverrideEnforceMode
1777 6, // 4: google.cloud.tasks.v2beta3.HttpTarget.uri_override:type_name -> google.cloud.tasks.v2beta3.UriOverride
1778 0, // 5: google.cloud.tasks.v2beta3.HttpTarget.http_method:type_name -> google.cloud.tasks.v2beta3.HttpMethod
1779 15, // 6: google.cloud.tasks.v2beta3.HttpTarget.header_overrides:type_name -> google.cloud.tasks.v2beta3.HttpTarget.HeaderOverride
1780 12, // 7: google.cloud.tasks.v2beta3.HttpTarget.oauth_token:type_name -> google.cloud.tasks.v2beta3.OAuthToken
1781 13, // 8: google.cloud.tasks.v2beta3.HttpTarget.oidc_token:type_name -> google.cloud.tasks.v2beta3.OidcToken
1782 0, // 9: google.cloud.tasks.v2beta3.HttpRequest.http_method:type_name -> google.cloud.tasks.v2beta3.HttpMethod
1783 16, // 10: google.cloud.tasks.v2beta3.HttpRequest.headers:type_name -> google.cloud.tasks.v2beta3.HttpRequest.HeadersEntry
1784 12, // 11: google.cloud.tasks.v2beta3.HttpRequest.oauth_token:type_name -> google.cloud.tasks.v2beta3.OAuthToken
1785 13, // 12: google.cloud.tasks.v2beta3.HttpRequest.oidc_token:type_name -> google.cloud.tasks.v2beta3.OidcToken
1786 11, // 13: google.cloud.tasks.v2beta3.AppEngineHttpQueue.app_engine_routing_override:type_name -> google.cloud.tasks.v2beta3.AppEngineRouting
1787 0, // 14: google.cloud.tasks.v2beta3.AppEngineHttpRequest.http_method:type_name -> google.cloud.tasks.v2beta3.HttpMethod
1788 11, // 15: google.cloud.tasks.v2beta3.AppEngineHttpRequest.app_engine_routing:type_name -> google.cloud.tasks.v2beta3.AppEngineRouting
1789 17, // 16: google.cloud.tasks.v2beta3.AppEngineHttpRequest.headers:type_name -> google.cloud.tasks.v2beta3.AppEngineHttpRequest.HeadersEntry
1790 14, // 17: google.cloud.tasks.v2beta3.HttpTarget.HeaderOverride.header:type_name -> google.cloud.tasks.v2beta3.HttpTarget.Header
1791 18, // [18:18] is the sub-list for method output_type
1792 18, // [18:18] is the sub-list for method input_type
1793 18, // [18:18] is the sub-list for extension type_name
1794 18, // [18:18] is the sub-list for extension extendee
1795 0, // [0:18] is the sub-list for field type_name
1796 }
1797
1798 func init() { file_google_cloud_tasks_v2beta3_target_proto_init() }
1799 func file_google_cloud_tasks_v2beta3_target_proto_init() {
1800 if File_google_cloud_tasks_v2beta3_target_proto != nil {
1801 return
1802 }
1803 file_google_cloud_tasks_v2beta3_target_proto_msgTypes[3].OneofWrappers = []any{}
1804 file_google_cloud_tasks_v2beta3_target_proto_msgTypes[4].OneofWrappers = []any{
1805 (*HttpTarget_OauthToken)(nil),
1806 (*HttpTarget_OidcToken)(nil),
1807 }
1808 file_google_cloud_tasks_v2beta3_target_proto_msgTypes[5].OneofWrappers = []any{
1809 (*HttpRequest_OauthToken)(nil),
1810 (*HttpRequest_OidcToken)(nil),
1811 }
1812 type x struct{}
1813 out := protoimpl.TypeBuilder{
1814 File: protoimpl.DescBuilder{
1815 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1816 RawDescriptor: file_google_cloud_tasks_v2beta3_target_proto_rawDesc,
1817 NumEnums: 3,
1818 NumMessages: 15,
1819 NumExtensions: 0,
1820 NumServices: 0,
1821 },
1822 GoTypes: file_google_cloud_tasks_v2beta3_target_proto_goTypes,
1823 DependencyIndexes: file_google_cloud_tasks_v2beta3_target_proto_depIdxs,
1824 EnumInfos: file_google_cloud_tasks_v2beta3_target_proto_enumTypes,
1825 MessageInfos: file_google_cloud_tasks_v2beta3_target_proto_msgTypes,
1826 }.Build()
1827 File_google_cloud_tasks_v2beta3_target_proto = out.File
1828 file_google_cloud_tasks_v2beta3_target_proto_rawDesc = nil
1829 file_google_cloud_tasks_v2beta3_target_proto_goTypes = nil
1830 file_google_cloud_tasks_v2beta3_target_proto_depIdxs = nil
1831 }