Debian Codegraph @

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