Debian Codegraph @

scheduler/apiv1/schedulerpb/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/scheduler/v1/target.proto
20
21 package schedulerpb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // The HTTP method used to execute the job.
39 type HttpMethod int32
40
41 const (
42 // HTTP method unspecified. Defaults to POST.
43 HttpMethod_HTTP_METHOD_UNSPECIFIED HttpMethod = 0
44 // HTTP POST
45 HttpMethod_POST HttpMethod = 1
46 // HTTP GET
47 HttpMethod_GET HttpMethod = 2
48 // HTTP HEAD
49 HttpMethod_HEAD HttpMethod = 3
50 // HTTP PUT
51 HttpMethod_PUT HttpMethod = 4
52 // HTTP DELETE
53 HttpMethod_DELETE HttpMethod = 5
54 // HTTP PATCH
55 HttpMethod_PATCH HttpMethod = 6
56 // HTTP OPTIONS
57 HttpMethod_OPTIONS HttpMethod = 7
58 )
59
60 // Enum value maps for HttpMethod.
61 var (
62 HttpMethod_name = map[int32]string{
63 0: "HTTP_METHOD_UNSPECIFIED",
64 1: "POST",
65 2: "GET",
66 3: "HEAD",
67 4: "PUT",
68 5: "DELETE",
69 6: "PATCH",
70 7: "OPTIONS",
71 }
72 HttpMethod_value = map[string]int32{
73 "HTTP_METHOD_UNSPECIFIED": 0,
74 "POST": 1,
75 "GET": 2,
76 "HEAD": 3,
77 "PUT": 4,
78 "DELETE": 5,
79 "PATCH": 6,
80 "OPTIONS": 7,
81 }
82 )
83
84 func (x HttpMethod) Enum() *HttpMethod {
85 p := new(HttpMethod)
86 *p = x
87 return p
88 }
89
90 func (x HttpMethod) String() string {
91 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
92 }
93
94 func (HttpMethod) Descriptor() protoreflect.EnumDescriptor {
95 return file_google_cloud_scheduler_v1_target_proto_enumTypes[0].Descriptor()
96 }
97
98 func (HttpMethod) Type() protoreflect.EnumType {
99 return &file_google_cloud_scheduler_v1_target_proto_enumTypes[0]
100 }
101
102 func (x HttpMethod) Number() protoreflect.EnumNumber {
103 return protoreflect.EnumNumber(x)
104 }
105
106 // Deprecated: Use HttpMethod.Descriptor instead.
107 func (HttpMethod) EnumDescriptor() ([]byte, []int) {
108 return file_google_cloud_scheduler_v1_target_proto_rawDescGZIP(), []int{0}
109 }
110
111 // Http target. The job will be pushed to the job handler by means of
112 // an HTTP request via an
113 // [http_method][google.cloud.scheduler.v1.HttpTarget.http_method] such as HTTP
114 // POST, HTTP GET, etc. The job is acknowledged by means of an HTTP
115 // response code in the range [200 - 299]. A failure to receive a response
116 // constitutes a failed execution. For a redirected request, the response
117 // returned by the redirected request is considered.
118 type HttpTarget struct {
119 state protoimpl.MessageState
120 sizeCache protoimpl.SizeCache
121 unknownFields protoimpl.UnknownFields
122
123 // Required. The full URI path that the request will be sent to. This string
124 // must begin with either "http://" or "https://". Some examples of
125 // valid values for [uri][google.cloud.scheduler.v1.HttpTarget.uri] are:
126 // `http://acme.com` and `https://acme.com/sales:8080`. Cloud Scheduler will
127 // encode some characters for safety and compatibility. The maximum allowed
128 // URL length is 2083 characters after encoding.
129 Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
130 // Which HTTP method to use for the request.
131 HttpMethod HttpMethod `protobuf:"varint,2,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.scheduler.v1.HttpMethod" json:"http_method,omitempty"`
132 // HTTP request headers.
133 //
134 // This map contains the header field names and values.
135 //
136 // The user can specify HTTP request headers to send with the job's
137 // HTTP request. Repeated headers are not supported, but a header value can
138 // contain commas.
139 //
140 // The following headers represent a subset of the headers
141 // that accompany the job's HTTP request. Some HTTP request
142 // headers are ignored or replaced. A partial list of headers that
143 // are ignored or replaced is below:
144 //
145 // * Host: This will be computed by Cloud Scheduler and derived from
146 // [uri][google.cloud.scheduler.v1.HttpTarget.uri].
147 // * `Content-Length`: This will be computed by Cloud Scheduler.
148 // * `User-Agent`: This will be set to `"Google-Cloud-Scheduler"`.
149 // * `X-Google-*`: Google internal use only.
150 // * `X-AppEngine-*`: Google internal use only.
151 // * `X-CloudScheduler`: This header will be set to true.
152 // * `X-CloudScheduler-JobName`: This header will contain the job name.
153 // * `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
154 // the unix-cron format, this header will contain the job schedule as an
155 // offset of UTC parsed according to RFC3339.
156 //
157 // If the job has a [body][google.cloud.scheduler.v1.HttpTarget.body] and the
158 // following headers are not set by the user, Cloud Scheduler sets default
159 // values:
160 //
161 // - `Content-Type`: This will be set to `"application/octet-stream"`. You
162 // can override this default by explicitly setting `Content-Type` to a
163 // particular media type when creating the job. For example, you can set
164 // `Content-Type` to `"application/json"`.
165 //
166 // The total size of headers must be less than 80KB.
167 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"`
168 // HTTP request body. A request body is allowed only if the HTTP
169 // method is POST, PUT, or PATCH. It is an error to set body on a job with an
170 // incompatible [HttpMethod][google.cloud.scheduler.v1.HttpMethod].
171 Body []byte `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
172 // The mode for generating an `Authorization` header for HTTP requests.
173 //
174 // If specified, all `Authorization` headers in the
175 // [HttpTarget.headers][google.cloud.scheduler.v1.HttpTarget.headers] field
176 // will be overridden.
177 //
178 // Types that are assignable to AuthorizationHeader:
179 //
180 // *HttpTarget_OauthToken
181 // *HttpTarget_OidcToken
182 AuthorizationHeader isHttpTarget_AuthorizationHeader `protobuf_oneof:"authorization_header"`
183 }
184
185 func (x *HttpTarget) Reset() {
186 *x = HttpTarget{}
187 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[0]
188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
189 ms.StoreMessageInfo(mi)
190 }
191
192 func (x *HttpTarget) String() string {
193 return protoimpl.X.MessageStringOf(x)
194 }
195
196 func (*HttpTarget) ProtoMessage() {}
197
198 func (x *HttpTarget) ProtoReflect() protoreflect.Message {
199 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[0]
200 if x != nil {
201 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
202 if ms.LoadMessageInfo() == nil {
203 ms.StoreMessageInfo(mi)
204 }
205 return ms
206 }
207 return mi.MessageOf(x)
208 }
209
210 // Deprecated: Use HttpTarget.ProtoReflect.Descriptor instead.
211 func (*HttpTarget) Descriptor() ([]byte, []int) {
212 return file_google_cloud_scheduler_v1_target_proto_rawDescGZIP(), []int{0}
213 }
214
215 func (x *HttpTarget) GetUri() string {
216 if x != nil {
217 return x.Uri
218 }
219 return ""
220 }
221
222 func (x *HttpTarget) GetHttpMethod() HttpMethod {
223 if x != nil {
224 return x.HttpMethod
225 }
226 return HttpMethod_HTTP_METHOD_UNSPECIFIED
227 }
228
229 func (x *HttpTarget) GetHeaders() map[string]string {
230 if x != nil {
231 return x.Headers
232 }
233 return nil
234 }
235
236 func (x *HttpTarget) GetBody() []byte {
237 if x != nil {
238 return x.Body
239 }
240 return nil
241 }
242
243 func (m *HttpTarget) GetAuthorizationHeader() isHttpTarget_AuthorizationHeader {
244 if m != nil {
245 return m.AuthorizationHeader
246 }
247 return nil
248 }
249
250 func (x *HttpTarget) GetOauthToken() *OAuthToken {
251 if x, ok := x.GetAuthorizationHeader().(*HttpTarget_OauthToken); ok {
252 return x.OauthToken
253 }
254 return nil
255 }
256
257 func (x *HttpTarget) GetOidcToken() *OidcToken {
258 if x, ok := x.GetAuthorizationHeader().(*HttpTarget_OidcToken); ok {
259 return x.OidcToken
260 }
261 return nil
262 }
263
264 type isHttpTarget_AuthorizationHeader interface {
265 isHttpTarget_AuthorizationHeader()
266 }
267
268 type HttpTarget_OauthToken struct {
269 // If specified, an
270 // [OAuth token](https://developers.google.com/identity/protocols/OAuth2)
271 // will be generated and attached as an `Authorization` header in the HTTP
272 // request.
273 //
274 // This type of authorization should generally only be used when calling
275 // Google APIs hosted on *.googleapis.com.
276 OauthToken *OAuthToken `protobuf:"bytes,5,opt,name=oauth_token,json=oauthToken,proto3,oneof"`
277 }
278
279 type HttpTarget_OidcToken struct {
280 // If specified, an
281 // [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect)
282 // token will be generated and attached as an `Authorization` header in the
283 // HTTP request.
284 //
285 // This type of authorization can be used for many scenarios, including
286 // calling Cloud Run, or endpoints where you intend to validate the token
287 // yourself.
288 OidcToken *OidcToken `protobuf:"bytes,6,opt,name=oidc_token,json=oidcToken,proto3,oneof"`
289 }
290
291 func (*HttpTarget_OauthToken) isHttpTarget_AuthorizationHeader() {}
292
293 func (*HttpTarget_OidcToken) isHttpTarget_AuthorizationHeader() {}
294
295 // App Engine target. The job will be pushed to a job handler by means
296 // of an HTTP request via an
297 // [http_method][google.cloud.scheduler.v1.AppEngineHttpTarget.http_method] such
298 // as HTTP POST, HTTP GET, etc. The job is acknowledged by means of an
299 // HTTP response code in the range [200 - 299]. Error 503 is
300 // considered an App Engine system error instead of an application
301 // error. Requests returning error 503 will be retried regardless of
302 // retry configuration and not counted against retry counts. Any other
303 // response code, or a failure to receive a response before the
304 // deadline, constitutes a failed attempt.
305 type AppEngineHttpTarget struct {
306 state protoimpl.MessageState
307 sizeCache protoimpl.SizeCache
308 unknownFields protoimpl.UnknownFields
309
310 // The HTTP method to use for the request. PATCH and OPTIONS are not
311 // permitted.
312 HttpMethod HttpMethod `protobuf:"varint,1,opt,name=http_method,json=httpMethod,proto3,enum=google.cloud.scheduler.v1.HttpMethod" json:"http_method,omitempty"`
313 // App Engine Routing setting for the job.
314 AppEngineRouting *AppEngineRouting `protobuf:"bytes,2,opt,name=app_engine_routing,json=appEngineRouting,proto3" json:"app_engine_routing,omitempty"`
315 // The relative URI.
316 //
317 // The relative URL must begin with "/" and must be a valid HTTP relative URL.
318 // It can contain a path, query string arguments, and `#` fragments.
319 // If the relative URL is empty, then the root path "/" will be used.
320 // No spaces are allowed, and the maximum length allowed is 2083 characters.
321 RelativeUri string `protobuf:"bytes,3,opt,name=relative_uri,json=relativeUri,proto3" json:"relative_uri,omitempty"`
322 // HTTP request headers.
323 //
324 // This map contains the header field names and values. Headers can be set
325 // when the job is created.
326 //
327 // Cloud Scheduler sets some headers to default values:
328 //
329 // - `User-Agent`: By default, this header is
330 // `"AppEngine-Google; (+http://code.google.com/appengine)"`.
331 // This header can be modified, but Cloud Scheduler will append
332 // `"AppEngine-Google; (+http://code.google.com/appengine)"` to the
333 // modified `User-Agent`.
334 // - `X-CloudScheduler`: This header will be set to true.
335 // - `X-CloudScheduler-JobName`: This header will contain the job name.
336 // - `X-CloudScheduler-ScheduleTime`: For Cloud Scheduler jobs specified in
337 //
338 // the unix-cron format, this header will contain the job schedule as an
339 // offset of UTC parsed according to RFC3339.
340 //
341 // If the job has a [body][google.cloud.scheduler.v1.AppEngineHttpTarget.body]
342 // and the following headers are not set by the user, Cloud Scheduler sets
343 // default values:
344 //
345 // - `Content-Type`: This will be set to `"application/octet-stream"`. You
346 // can override this default by explicitly setting `Content-Type` to a
347 // particular media type when creating the job. For example, you can set
348 // `Content-Type` to `"application/json"`.
349 //
350 // The headers below are output only. They cannot be set or overridden:
351 //
352 // * `Content-Length`: This is computed by Cloud Scheduler.
353 // * `X-Google-*`: For Google internal use only.
354 // * `X-AppEngine-*`: For Google internal use only.
355 //
356 // In addition, some App Engine headers, which contain
357 // job-specific information, are also be sent to the job handler.
358 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"`
359 // Body.
360 //
361 // HTTP request body. A request body is allowed only if the HTTP method is
362 // POST or PUT. It will result in invalid argument error to set a body on a
363 // job with an incompatible
364 // [HttpMethod][google.cloud.scheduler.v1.HttpMethod].
365 Body []byte `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
366 }
367
368 func (x *AppEngineHttpTarget) Reset() {
369 *x = AppEngineHttpTarget{}
370 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[1]
371 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
372 ms.StoreMessageInfo(mi)
373 }
374
375 func (x *AppEngineHttpTarget) String() string {
376 return protoimpl.X.MessageStringOf(x)
377 }
378
379 func (*AppEngineHttpTarget) ProtoMessage() {}
380
381 func (x *AppEngineHttpTarget) ProtoReflect() protoreflect.Message {
382 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[1]
383 if x != nil {
384 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
385 if ms.LoadMessageInfo() == nil {
386 ms.StoreMessageInfo(mi)
387 }
388 return ms
389 }
390 return mi.MessageOf(x)
391 }
392
393 // Deprecated: Use AppEngineHttpTarget.ProtoReflect.Descriptor instead.
394 func (*AppEngineHttpTarget) Descriptor() ([]byte, []int) {
395 return file_google_cloud_scheduler_v1_target_proto_rawDescGZIP(), []int{1}
396 }
397
398 func (x *AppEngineHttpTarget) GetHttpMethod() HttpMethod {
399 if x != nil {
400 return x.HttpMethod
401 }
402 return HttpMethod_HTTP_METHOD_UNSPECIFIED
403 }
404
405 func (x *AppEngineHttpTarget) GetAppEngineRouting() *AppEngineRouting {
406 if x != nil {
407 return x.AppEngineRouting
408 }
409 return nil
410 }
411
412 func (x *AppEngineHttpTarget) GetRelativeUri() string {
413 if x != nil {
414 return x.RelativeUri
415 }
416 return ""
417 }
418
419 func (x *AppEngineHttpTarget) GetHeaders() map[string]string {
420 if x != nil {
421 return x.Headers
422 }
423 return nil
424 }
425
426 func (x *AppEngineHttpTarget) GetBody() []byte {
427 if x != nil {
428 return x.Body
429 }
430 return nil
431 }
432
433 // Pub/Sub target. The job will be delivered by publishing a message to
434 // the given Pub/Sub topic.
435 type PubsubTarget struct {
436 state protoimpl.MessageState
437 sizeCache protoimpl.SizeCache
438 unknownFields protoimpl.UnknownFields
439
440 // Required. The name of the Cloud Pub/Sub topic to which messages will
441 // be published when a job is delivered. The topic name must be in the
442 // same format as required by Pub/Sub's
443 // [PublishRequest.name](https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#publishrequest),
444 // for example `projects/PROJECT_ID/topics/TOPIC_ID`.
445 //
446 // The topic must be in the same project as the Cloud Scheduler job.
447 TopicName string `protobuf:"bytes,1,opt,name=topic_name,json=topicName,proto3" json:"topic_name,omitempty"`
448 // The message payload for PubsubMessage.
449 //
450 // Pubsub message must contain either non-empty data, or at least one
451 // attribute.
452 Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
453 // Attributes for PubsubMessage.
454 //
455 // Pubsub message must contain either non-empty data, or at least one
456 // attribute.
457 Attributes map[string]string `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
458 }
459
460 func (x *PubsubTarget) Reset() {
461 *x = PubsubTarget{}
462 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[2]
463 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
464 ms.StoreMessageInfo(mi)
465 }
466
467 func (x *PubsubTarget) String() string {
468 return protoimpl.X.MessageStringOf(x)
469 }
470
471 func (*PubsubTarget) ProtoMessage() {}
472
473 func (x *PubsubTarget) ProtoReflect() protoreflect.Message {
474 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[2]
475 if x != nil {
476 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
477 if ms.LoadMessageInfo() == nil {
478 ms.StoreMessageInfo(mi)
479 }
480 return ms
481 }
482 return mi.MessageOf(x)
483 }
484
485 // Deprecated: Use PubsubTarget.ProtoReflect.Descriptor instead.
486 func (*PubsubTarget) Descriptor() ([]byte, []int) {
487 return file_google_cloud_scheduler_v1_target_proto_rawDescGZIP(), []int{2}
488 }
489
490 func (x *PubsubTarget) GetTopicName() string {
491 if x != nil {
492 return x.TopicName
493 }
494 return ""
495 }
496
497 func (x *PubsubTarget) GetData() []byte {
498 if x != nil {
499 return x.Data
500 }
501 return nil
502 }
503
504 func (x *PubsubTarget) GetAttributes() map[string]string {
505 if x != nil {
506 return x.Attributes
507 }
508 return nil
509 }
510
511 // App Engine Routing.
512 //
513 // For more information about services, versions, and instances see
514 // [An Overview of App
515 // Engine](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine),
516 // [Microservices Architecture on Google App
517 // Engine](https://cloud.google.com/appengine/docs/python/microservices-on-app-engine),
518 // [App Engine Standard request
519 // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed),
520 // and [App Engine Flex request
521 // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
522 type AppEngineRouting struct {
523 state protoimpl.MessageState
524 sizeCache protoimpl.SizeCache
525 unknownFields protoimpl.UnknownFields
526
527 // App service.
528 //
529 // By default, the job is sent to the service which is the default
530 // service when the job is attempted.
531 Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
532 // App version.
533 //
534 // By default, the job is sent to the version which is the default
535 // version when the job is attempted.
536 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
537 // App instance.
538 //
539 // By default, the job is sent to an instance which is available when
540 // the job is attempted.
541 //
542 // Requests can only be sent to a specific instance if
543 // [manual scaling is used in App Engine
544 // Standard](https://cloud.google.com/appengine/docs/python/an-overview-of-app-engine?#scaling_types_and_instance_classes).
545 // App Engine Flex does not support instances. For more information, see
546 // [App Engine Standard request
547 // routing](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed)
548 // and [App Engine Flex request
549 // routing](https://cloud.google.com/appengine/docs/flexible/python/how-requests-are-routed).
550 Instance string `protobuf:"bytes,3,opt,name=instance,proto3" json:"instance,omitempty"`
551 // Output only. The host that the job is sent to.
552 //
553 // For more information about how App Engine requests are routed, see
554 // [here](https://cloud.google.com/appengine/docs/standard/python/how-requests-are-routed).
555 //
556 // The host is constructed as:
557 //
558 // - `host = [application_domain_name]`</br>
559 // `| [service] + '.' + [application_domain_name]`</br>
560 // `| [version] + '.' + [application_domain_name]`</br>
561 // `| [version_dot_service]+ '.' + [application_domain_name]`</br>
562 // `| [instance] + '.' + [application_domain_name]`</br>
563 // `| [instance_dot_service] + '.' + [application_domain_name]`</br>
564 // `| [instance_dot_version] + '.' + [application_domain_name]`</br>
565 // `| [instance_dot_version_dot_service] + '.' + [application_domain_name]`
566 //
567 // - `application_domain_name` = The domain name of the app, for
568 // example <app-id>.appspot.com, which is associated with the
569 // job's project ID.
570 //
571 // * `service =` [service][google.cloud.scheduler.v1.AppEngineRouting.service]
572 //
573 // * `version =` [version][google.cloud.scheduler.v1.AppEngineRouting.version]
574 //
575 // - `version_dot_service =`
576 // [version][google.cloud.scheduler.v1.AppEngineRouting.version] `+ '.' +`
577 // [service][google.cloud.scheduler.v1.AppEngineRouting.service]
578 //
579 // * `instance =`
580 // [instance][google.cloud.scheduler.v1.AppEngineRouting.instance]
581 //
582 // - `instance_dot_service =`
583 // [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +`
584 // [service][google.cloud.scheduler.v1.AppEngineRouting.service]
585 //
586 // - `instance_dot_version =`
587 // [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +`
588 // [version][google.cloud.scheduler.v1.AppEngineRouting.version]
589 //
590 // - `instance_dot_version_dot_service =`
591 // [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] `+ '.' +`
592 // [version][google.cloud.scheduler.v1.AppEngineRouting.version] `+ '.' +`
593 // [service][google.cloud.scheduler.v1.AppEngineRouting.service]
594 //
595 // If [service][google.cloud.scheduler.v1.AppEngineRouting.service] is empty,
596 // then the job will be sent to the service which is the default service when
597 // the job is attempted.
598 //
599 // If [version][google.cloud.scheduler.v1.AppEngineRouting.version] is empty,
600 // then the job will be sent to the version which is the default version when
601 // the job is attempted.
602 //
603 // If [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] is
604 // empty, then the job will be sent to an instance which is available when the
605 // job is attempted.
606 //
607 // If [service][google.cloud.scheduler.v1.AppEngineRouting.service],
608 // [version][google.cloud.scheduler.v1.AppEngineRouting.version], or
609 // [instance][google.cloud.scheduler.v1.AppEngineRouting.instance] is invalid,
610 // then the job will be sent to the default version of the default service
611 // when the job is attempted.
612 Host string `protobuf:"bytes,4,opt,name=host,proto3" json:"host,omitempty"`
613 }
614
615 func (x *AppEngineRouting) Reset() {
616 *x = AppEngineRouting{}
617 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[3]
618 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
619 ms.StoreMessageInfo(mi)
620 }
621
622 func (x *AppEngineRouting) String() string {
623 return protoimpl.X.MessageStringOf(x)
624 }
625
626 func (*AppEngineRouting) ProtoMessage() {}
627
628 func (x *AppEngineRouting) ProtoReflect() protoreflect.Message {
629 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[3]
630 if x != nil {
631 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
632 if ms.LoadMessageInfo() == nil {
633 ms.StoreMessageInfo(mi)
634 }
635 return ms
636 }
637 return mi.MessageOf(x)
638 }
639
640 // Deprecated: Use AppEngineRouting.ProtoReflect.Descriptor instead.
641 func (*AppEngineRouting) Descriptor() ([]byte, []int) {
642 return file_google_cloud_scheduler_v1_target_proto_rawDescGZIP(), []int{3}
643 }
644
645 func (x *AppEngineRouting) GetService() string {
646 if x != nil {
647 return x.Service
648 }
649 return ""
650 }
651
652 func (x *AppEngineRouting) GetVersion() string {
653 if x != nil {
654 return x.Version
655 }
656 return ""
657 }
658
659 func (x *AppEngineRouting) GetInstance() string {
660 if x != nil {
661 return x.Instance
662 }
663 return ""
664 }
665
666 func (x *AppEngineRouting) GetHost() string {
667 if x != nil {
668 return x.Host
669 }
670 return ""
671 }
672
673 // Contains information needed for generating an
674 // [OAuth token](https://developers.google.com/identity/protocols/OAuth2).
675 // This type of authorization should generally only be used when calling Google
676 // APIs hosted on *.googleapis.com.
677 type OAuthToken struct {
678 state protoimpl.MessageState
679 sizeCache protoimpl.SizeCache
680 unknownFields protoimpl.UnknownFields
681
682 // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
683 // to be used for generating OAuth token.
684 // The service account must be within the same project as the job. The caller
685 // must have iam.serviceAccounts.actAs permission for the service account.
686 ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
687 // OAuth scope to be used for generating OAuth access token.
688 // If not specified, "https://www.googleapis.com/auth/cloud-platform"
689 // will be used.
690 Scope string `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`
691 }
692
693 func (x *OAuthToken) Reset() {
694 *x = OAuthToken{}
695 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[4]
696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
697 ms.StoreMessageInfo(mi)
698 }
699
700 func (x *OAuthToken) String() string {
701 return protoimpl.X.MessageStringOf(x)
702 }
703
704 func (*OAuthToken) ProtoMessage() {}
705
706 func (x *OAuthToken) ProtoReflect() protoreflect.Message {
707 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[4]
708 if x != nil {
709 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
710 if ms.LoadMessageInfo() == nil {
711 ms.StoreMessageInfo(mi)
712 }
713 return ms
714 }
715 return mi.MessageOf(x)
716 }
717
718 // Deprecated: Use OAuthToken.ProtoReflect.Descriptor instead.
719 func (*OAuthToken) Descriptor() ([]byte, []int) {
720 return file_google_cloud_scheduler_v1_target_proto_rawDescGZIP(), []int{4}
721 }
722
723 func (x *OAuthToken) GetServiceAccountEmail() string {
724 if x != nil {
725 return x.ServiceAccountEmail
726 }
727 return ""
728 }
729
730 func (x *OAuthToken) GetScope() string {
731 if x != nil {
732 return x.Scope
733 }
734 return ""
735 }
736
737 // Contains information needed for generating an
738 // [OpenID Connect
739 // token](https://developers.google.com/identity/protocols/OpenIDConnect).
740 // This type of authorization can be used for many scenarios, including
741 // calling Cloud Run, or endpoints where you intend to validate the token
742 // yourself.
743 type OidcToken struct {
744 state protoimpl.MessageState
745 sizeCache protoimpl.SizeCache
746 unknownFields protoimpl.UnknownFields
747
748 // [Service account email](https://cloud.google.com/iam/docs/service-accounts)
749 // to be used for generating OIDC token.
750 // The service account must be within the same project as the job. The caller
751 // must have iam.serviceAccounts.actAs permission for the service account.
752 ServiceAccountEmail string `protobuf:"bytes,1,opt,name=service_account_email,json=serviceAccountEmail,proto3" json:"service_account_email,omitempty"`
753 // Audience to be used when generating OIDC token. If not specified, the URI
754 // specified in target will be used.
755 Audience string `protobuf:"bytes,2,opt,name=audience,proto3" json:"audience,omitempty"`
756 }
757
758 func (x *OidcToken) Reset() {
759 *x = OidcToken{}
760 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[5]
761 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
762 ms.StoreMessageInfo(mi)
763 }
764
765 func (x *OidcToken) String() string {
766 return protoimpl.X.MessageStringOf(x)
767 }
768
769 func (*OidcToken) ProtoMessage() {}
770
771 func (x *OidcToken) ProtoReflect() protoreflect.Message {
772 mi := &file_google_cloud_scheduler_v1_target_proto_msgTypes[5]
773 if x != nil {
774 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
775 if ms.LoadMessageInfo() == nil {
776 ms.StoreMessageInfo(mi)
777 }
778 return ms
779 }
780 return mi.MessageOf(x)
781 }
782
783 // Deprecated: Use OidcToken.ProtoReflect.Descriptor instead.
784 func (*OidcToken) Descriptor() ([]byte, []int) {
785 return file_google_cloud_scheduler_v1_target_proto_rawDescGZIP(), []int{5}
786 }
787
788 func (x *OidcToken) GetServiceAccountEmail() string {
789 if x != nil {
790 return x.ServiceAccountEmail
791 }
792 return ""
793 }
794
795 func (x *OidcToken) GetAudience() string {
796 if x != nil {
797 return x.Audience
798 }
799 return ""
800 }
801
802 var File_google_cloud_scheduler_v1_target_proto protoreflect.FileDescriptor
803
804 var file_google_cloud_scheduler_v1_target_proto_rawDesc = []byte{
805 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
806 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x61, 0x72, 0x67,
807 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
808 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72,
809 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
810 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xad,
811 0x03, 0x0a, 0x0a, 0x48, 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x10, 0x0a,
812 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12,
813 0x46, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x02,
814 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
815 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31,
816 0x2e, 0x48, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x52, 0x0a, 0x68, 0x74, 0x74,
817 0x70, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x4c, 0x0a, 0x07, 0x68, 0x65, 0x61, 0x64, 0x65,
818 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
819 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,
820 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e,
821 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65,
822 0x61, 0x64, 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x04, 0x20,
823 0x01, 0x28, 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x12, 0x48, 0x0a, 0x0b, 0x6f, 0x61, 0x75,
824 0x74, 0x68, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25,
825 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63,
826 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x41, 0x75, 0x74, 0x68,
827 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x00, 0x52, 0x0a, 0x6f, 0x61, 0x75, 0x74, 0x68, 0x54, 0x6f,
828 0x6b, 0x65, 0x6e, 0x12, 0x45, 0x0a, 0x0a, 0x6f, 0x69, 0x64, 0x63, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
829 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
830 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72,
831 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x69, 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x48, 0x00, 0x52,
832 0x09, 0x6f, 0x69, 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65,
833 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65,
834 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05,
835 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c,
836 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x42, 0x16, 0x0a, 0x14, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72,
837 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x22, 0x82,
838 0x03, 0x0a, 0x13, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x48, 0x74, 0x74, 0x70,
839 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x46, 0x0a, 0x0b, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x6d,
840 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x67, 0x6f,
841 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64,
842 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74, 0x68,
843 0x6f, 0x64, 0x52, 0x0a, 0x68, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x59,
844 0x0a, 0x12, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x72, 0x6f, 0x75,
845 0x74, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f,
846 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
847 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65,
848 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x10, 0x61, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69,
849 0x6e, 0x65, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x6c,
850 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
851 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x76, 0x65, 0x55, 0x72, 0x69, 0x12, 0x55, 0x0a, 0x07,
852 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3b, 0x2e,
853 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68,
854 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67,
855 0x69, 0x6e, 0x65, 0x48, 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x48, 0x65,
856 0x61, 0x64, 0x65, 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x07, 0x68, 0x65, 0x61, 0x64,
857 0x65, 0x72, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28,
858 0x0c, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x1a, 0x3a, 0x0a, 0x0c, 0x48, 0x65, 0x61, 0x64, 0x65,
859 0x72, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01,
860 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c,
861 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a,
862 0x02, 0x38, 0x01, 0x22, 0xfb, 0x01, 0x0a, 0x0c, 0x50, 0x75, 0x62, 0x73, 0x75, 0x62, 0x54, 0x61,
863 0x72, 0x67, 0x65, 0x74, 0x12, 0x3f, 0x0a, 0x0a, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x5f, 0x6e, 0x61,
864 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x70,
865 0x75, 0x62, 0x73, 0x75, 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
866 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x52, 0x09, 0x74, 0x6f, 0x70, 0x69,
867 0x63, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x03, 0x20,
868 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x57, 0x0a, 0x0a, 0x61, 0x74, 0x74,
869 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e,
870 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68,
871 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x75, 0x62, 0x73, 0x75, 0x62,
872 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65,
873 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74,
874 0x65, 0x73, 0x1a, 0x3d, 0x0a, 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73,
875 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01,
876 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65,
877 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38,
878 0x01, 0x22, 0x76, 0x0a, 0x10, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x52, 0x6f,
879 0x75, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
880 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12,
881 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,
882 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x69, 0x6e, 0x73,
883 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x69, 0x6e, 0x73,
884 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x04, 0x20,
885 0x01, 0x28, 0x09, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x22, 0x56, 0x0a, 0x0a, 0x4f, 0x41, 0x75,
886 0x74, 0x68, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69,
887 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c,
888 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41,
889 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x73,
890 0x63, 0x6f, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70,
891 0x65, 0x22, 0x5b, 0x0a, 0x09, 0x4f, 0x69, 0x64, 0x63, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x32,
892 0x0a, 0x15, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x63, 0x63, 0x6f, 0x75, 0x6e,
893 0x74, 0x5f, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x73,
894 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6d, 0x61,
895 0x69, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x02,
896 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x75, 0x64, 0x69, 0x65, 0x6e, 0x63, 0x65, 0x2a, 0x73,
897 0x0a, 0x0a, 0x48, 0x74, 0x74, 0x70, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x1b, 0x0a, 0x17,
898 0x48, 0x54, 0x54, 0x50, 0x5f, 0x4d, 0x45, 0x54, 0x48, 0x4f, 0x44, 0x5f, 0x55, 0x4e, 0x53, 0x50,
899 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x4f, 0x53,
900 0x54, 0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x47, 0x45, 0x54, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04,
901 0x48, 0x45, 0x41, 0x44, 0x10, 0x03, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x55, 0x54, 0x10, 0x04, 0x12,
902 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45, 0x10, 0x05, 0x12, 0x09, 0x0a, 0x05, 0x50,
903 0x41, 0x54, 0x43, 0x48, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e,
904 0x53, 0x10, 0x07, 0x42, 0xae, 0x01, 0xea, 0x41, 0x40, 0x0a, 0x1b, 0x70, 0x75, 0x62, 0x73, 0x75,
905 0x62, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
906 0x2f, 0x54, 0x6f, 0x70, 0x69, 0x63, 0x12, 0x21, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73,
907 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x74, 0x6f, 0x70, 0x69, 0x63,
908 0x73, 0x2f, 0x7b, 0x74, 0x6f, 0x70, 0x69, 0x63, 0x7d, 0x0a, 0x1d, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
909 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65,
910 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0b, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74,
911 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
912 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x63, 0x68,
913 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x73, 0x63, 0x68,
914 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
915 0x65, 0x72, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
916 }
917
918 var (
919 file_google_cloud_scheduler_v1_target_proto_rawDescOnce sync.Once
920 file_google_cloud_scheduler_v1_target_proto_rawDescData = file_google_cloud_scheduler_v1_target_proto_rawDesc
921 )
922
923 func file_google_cloud_scheduler_v1_target_proto_rawDescGZIP() []byte {
924 file_google_cloud_scheduler_v1_target_proto_rawDescOnce.Do(func() {
925 file_google_cloud_scheduler_v1_target_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_scheduler_v1_target_proto_rawDescData)
926 })
927 return file_google_cloud_scheduler_v1_target_proto_rawDescData
928 }
929
930 var file_google_cloud_scheduler_v1_target_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
931 var file_google_cloud_scheduler_v1_target_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
932 var file_google_cloud_scheduler_v1_target_proto_goTypes = []any{
933 (HttpMethod)(0), // 0: google.cloud.scheduler.v1.HttpMethod
934 (*HttpTarget)(nil), // 1: google.cloud.scheduler.v1.HttpTarget
935 (*AppEngineHttpTarget)(nil), // 2: google.cloud.scheduler.v1.AppEngineHttpTarget
936 (*PubsubTarget)(nil), // 3: google.cloud.scheduler.v1.PubsubTarget
937 (*AppEngineRouting)(nil), // 4: google.cloud.scheduler.v1.AppEngineRouting
938 (*OAuthToken)(nil), // 5: google.cloud.scheduler.v1.OAuthToken
939 (*OidcToken)(nil), // 6: google.cloud.scheduler.v1.OidcToken
940 nil, // 7: google.cloud.scheduler.v1.HttpTarget.HeadersEntry
941 nil, // 8: google.cloud.scheduler.v1.AppEngineHttpTarget.HeadersEntry
942 nil, // 9: google.cloud.scheduler.v1.PubsubTarget.AttributesEntry
943 }
944 var file_google_cloud_scheduler_v1_target_proto_depIdxs = []int32{
945 0, // 0: google.cloud.scheduler.v1.HttpTarget.http_method:type_name -> google.cloud.scheduler.v1.HttpMethod
946 7, // 1: google.cloud.scheduler.v1.HttpTarget.headers:type_name -> google.cloud.scheduler.v1.HttpTarget.HeadersEntry
947 5, // 2: google.cloud.scheduler.v1.HttpTarget.oauth_token:type_name -> google.cloud.scheduler.v1.OAuthToken
948 6, // 3: google.cloud.scheduler.v1.HttpTarget.oidc_token:type_name -> google.cloud.scheduler.v1.OidcToken
949 0, // 4: google.cloud.scheduler.v1.AppEngineHttpTarget.http_method:type_name -> google.cloud.scheduler.v1.HttpMethod
950 4, // 5: google.cloud.scheduler.v1.AppEngineHttpTarget.app_engine_routing:type_name -> google.cloud.scheduler.v1.AppEngineRouting
951 8, // 6: google.cloud.scheduler.v1.AppEngineHttpTarget.headers:type_name -> google.cloud.scheduler.v1.AppEngineHttpTarget.HeadersEntry
952 9, // 7: google.cloud.scheduler.v1.PubsubTarget.attributes:type_name -> google.cloud.scheduler.v1.PubsubTarget.AttributesEntry
953 8, // [8:8] is the sub-list for method output_type
954 8, // [8:8] is the sub-list for method input_type
955 8, // [8:8] is the sub-list for extension type_name
956 8, // [8:8] is the sub-list for extension extendee
957 0, // [0:8] is the sub-list for field type_name
958 }
959
960 func init() { file_google_cloud_scheduler_v1_target_proto_init() }
961 func file_google_cloud_scheduler_v1_target_proto_init() {
962 if File_google_cloud_scheduler_v1_target_proto != nil {
963 return
964 }
965 file_google_cloud_scheduler_v1_target_proto_msgTypes[0].OneofWrappers = []any{
966 (*HttpTarget_OauthToken)(nil),
967 (*HttpTarget_OidcToken)(nil),
968 }
969 type x struct{}
970 out := protoimpl.TypeBuilder{
971 File: protoimpl.DescBuilder{
972 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
973 RawDescriptor: file_google_cloud_scheduler_v1_target_proto_rawDesc,
974 NumEnums: 1,
975 NumMessages: 9,
976 NumExtensions: 0,
977 NumServices: 0,
978 },
979 GoTypes: file_google_cloud_scheduler_v1_target_proto_goTypes,
980 DependencyIndexes: file_google_cloud_scheduler_v1_target_proto_depIdxs,
981 EnumInfos: file_google_cloud_scheduler_v1_target_proto_enumTypes,
982 MessageInfos: file_google_cloud_scheduler_v1_target_proto_msgTypes,
983 }.Build()
984 File_google_cloud_scheduler_v1_target_proto = out.File
985 file_google_cloud_scheduler_v1_target_proto_rawDesc = nil
986 file_google_cloud_scheduler_v1_target_proto_goTypes = nil
987 file_google_cloud_scheduler_v1_target_proto_depIdxs = nil
988 }