Debian Codegraph @

scheduler/apiv1beta1/schedulerpb/cloudscheduler.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/cloudscheduler.proto
20
21 package schedulerpb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 grpc "google.golang.org/grpc"
27 codes "google.golang.org/grpc/codes"
28 status "google.golang.org/grpc/status"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 emptypb "google.golang.org/protobuf/types/known/emptypb"
32 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // Request message for listing jobs using
45 // [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
46 type ListJobsRequest struct {
47 state protoimpl.MessageState
48 sizeCache protoimpl.SizeCache
49 unknownFields protoimpl.UnknownFields
50
51 // Required. The location name. For example:
52 // `projects/PROJECT_ID/locations/LOCATION_ID`.
53 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
54 // `filter` can be used to specify a subset of jobs.
55 //
56 // If `filter` equals `target_config="HttpConfig"`, then the http
57 // target jobs are retrieved. If `filter` equals
58 // `target_config="PubSubConfig"`, then the Pub/Sub target jobs are
59 // retrieved. If `filter` equals `labels.foo=value1
60 // labels.foo=value2` then only jobs which are labeled with
61 // foo=value1 AND foo=value2 will be returned.
62 Filter string `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
63 // Requested page size.
64 //
65 // The maximum page size is 500. If unspecified, the page size will
66 // be the maximum. Fewer jobs than requested might be returned,
67 // even if more jobs exist; use next_page_token to determine if more
68 // jobs exist.
69 PageSize int32 `protobuf:"varint,5,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
70 // A token identifying a page of results the server will return. To
71 // request the first page results, page_token must be empty. To
72 // request the next page of results, page_token must be the value of
73 // [next_page_token][google.cloud.scheduler.v1beta1.ListJobsResponse.next_page_token]
74 // returned from the previous call to
75 // [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs]. It is
76 // an error to switch the value of
77 // [filter][google.cloud.scheduler.v1beta1.ListJobsRequest.filter] or
78 // [order_by][google.cloud.scheduler.v1beta1.ListJobsRequest.order_by] while
79 // iterating through pages.
80 PageToken string `protobuf:"bytes,6,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
81 // This field is used to manage the legacy App Engine Cron jobs using the
82 // Cloud Scheduler API. If the field is set to true, the jobs in the __cron
83 // queue will be listed instead.
84 LegacyAppEngineCron bool `protobuf:"varint,7,opt,name=legacy_app_engine_cron,json=legacyAppEngineCron,proto3" json:"legacy_app_engine_cron,omitempty"`
85 }
86
87 func (x *ListJobsRequest) Reset() {
88 *x = ListJobsRequest{}
89 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[0]
90 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
91 ms.StoreMessageInfo(mi)
92 }
93
94 func (x *ListJobsRequest) String() string {
95 return protoimpl.X.MessageStringOf(x)
96 }
97
98 func (*ListJobsRequest) ProtoMessage() {}
99
100 func (x *ListJobsRequest) ProtoReflect() protoreflect.Message {
101 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[0]
102 if x != nil {
103 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
104 if ms.LoadMessageInfo() == nil {
105 ms.StoreMessageInfo(mi)
106 }
107 return ms
108 }
109 return mi.MessageOf(x)
110 }
111
112 // Deprecated: Use ListJobsRequest.ProtoReflect.Descriptor instead.
113 func (*ListJobsRequest) Descriptor() ([]byte, []int) {
114 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{0}
115 }
116
117 func (x *ListJobsRequest) GetParent() string {
118 if x != nil {
119 return x.Parent
120 }
121 return ""
122 }
123
124 func (x *ListJobsRequest) GetFilter() string {
125 if x != nil {
126 return x.Filter
127 }
128 return ""
129 }
130
131 func (x *ListJobsRequest) GetPageSize() int32 {
132 if x != nil {
133 return x.PageSize
134 }
135 return 0
136 }
137
138 func (x *ListJobsRequest) GetPageToken() string {
139 if x != nil {
140 return x.PageToken
141 }
142 return ""
143 }
144
145 func (x *ListJobsRequest) GetLegacyAppEngineCron() bool {
146 if x != nil {
147 return x.LegacyAppEngineCron
148 }
149 return false
150 }
151
152 // Response message for listing jobs using
153 // [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs].
154 type ListJobsResponse struct {
155 state protoimpl.MessageState
156 sizeCache protoimpl.SizeCache
157 unknownFields protoimpl.UnknownFields
158
159 // The list of jobs.
160 Jobs []*Job `protobuf:"bytes,1,rep,name=jobs,proto3" json:"jobs,omitempty"`
161 // A token to retrieve next page of results. Pass this value in the
162 // [page_token][google.cloud.scheduler.v1beta1.ListJobsRequest.page_token]
163 // field in the subsequent call to
164 // [ListJobs][google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs] to
165 // retrieve the next page of results. If this is empty it indicates that there
166 // are no more results through which to paginate.
167 //
168 // The page token is valid for only 2 hours.
169 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
170 }
171
172 func (x *ListJobsResponse) Reset() {
173 *x = ListJobsResponse{}
174 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[1]
175 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
176 ms.StoreMessageInfo(mi)
177 }
178
179 func (x *ListJobsResponse) String() string {
180 return protoimpl.X.MessageStringOf(x)
181 }
182
183 func (*ListJobsResponse) ProtoMessage() {}
184
185 func (x *ListJobsResponse) ProtoReflect() protoreflect.Message {
186 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[1]
187 if x != nil {
188 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
189 if ms.LoadMessageInfo() == nil {
190 ms.StoreMessageInfo(mi)
191 }
192 return ms
193 }
194 return mi.MessageOf(x)
195 }
196
197 // Deprecated: Use ListJobsResponse.ProtoReflect.Descriptor instead.
198 func (*ListJobsResponse) Descriptor() ([]byte, []int) {
199 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{1}
200 }
201
202 func (x *ListJobsResponse) GetJobs() []*Job {
203 if x != nil {
204 return x.Jobs
205 }
206 return nil
207 }
208
209 func (x *ListJobsResponse) GetNextPageToken() string {
210 if x != nil {
211 return x.NextPageToken
212 }
213 return ""
214 }
215
216 // Request message for
217 // [GetJob][google.cloud.scheduler.v1beta1.CloudScheduler.GetJob].
218 type GetJobRequest struct {
219 state protoimpl.MessageState
220 sizeCache protoimpl.SizeCache
221 unknownFields protoimpl.UnknownFields
222
223 // Required. The job name. For example:
224 // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
225 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
226 }
227
228 func (x *GetJobRequest) Reset() {
229 *x = GetJobRequest{}
230 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[2]
231 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
232 ms.StoreMessageInfo(mi)
233 }
234
235 func (x *GetJobRequest) String() string {
236 return protoimpl.X.MessageStringOf(x)
237 }
238
239 func (*GetJobRequest) ProtoMessage() {}
240
241 func (x *GetJobRequest) ProtoReflect() protoreflect.Message {
242 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[2]
243 if x != nil {
244 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
245 if ms.LoadMessageInfo() == nil {
246 ms.StoreMessageInfo(mi)
247 }
248 return ms
249 }
250 return mi.MessageOf(x)
251 }
252
253 // Deprecated: Use GetJobRequest.ProtoReflect.Descriptor instead.
254 func (*GetJobRequest) Descriptor() ([]byte, []int) {
255 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{2}
256 }
257
258 func (x *GetJobRequest) GetName() string {
259 if x != nil {
260 return x.Name
261 }
262 return ""
263 }
264
265 // Request message for
266 // [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob].
267 type CreateJobRequest struct {
268 state protoimpl.MessageState
269 sizeCache protoimpl.SizeCache
270 unknownFields protoimpl.UnknownFields
271
272 // Required. The location name. For example:
273 // `projects/PROJECT_ID/locations/LOCATION_ID`.
274 Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
275 // Required. The job to add. The user can optionally specify a name for the
276 // job in [name][google.cloud.scheduler.v1beta1.Job.name].
277 // [name][google.cloud.scheduler.v1beta1.Job.name] cannot be the same as an
278 // existing job. If a name is not specified then the system will
279 // generate a random unique name that will be returned
280 // ([name][google.cloud.scheduler.v1beta1.Job.name]) in the response.
281 Job *Job `protobuf:"bytes,2,opt,name=job,proto3" json:"job,omitempty"`
282 }
283
284 func (x *CreateJobRequest) Reset() {
285 *x = CreateJobRequest{}
286 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[3]
287 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
288 ms.StoreMessageInfo(mi)
289 }
290
291 func (x *CreateJobRequest) String() string {
292 return protoimpl.X.MessageStringOf(x)
293 }
294
295 func (*CreateJobRequest) ProtoMessage() {}
296
297 func (x *CreateJobRequest) ProtoReflect() protoreflect.Message {
298 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[3]
299 if x != nil {
300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
301 if ms.LoadMessageInfo() == nil {
302 ms.StoreMessageInfo(mi)
303 }
304 return ms
305 }
306 return mi.MessageOf(x)
307 }
308
309 // Deprecated: Use CreateJobRequest.ProtoReflect.Descriptor instead.
310 func (*CreateJobRequest) Descriptor() ([]byte, []int) {
311 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{3}
312 }
313
314 func (x *CreateJobRequest) GetParent() string {
315 if x != nil {
316 return x.Parent
317 }
318 return ""
319 }
320
321 func (x *CreateJobRequest) GetJob() *Job {
322 if x != nil {
323 return x.Job
324 }
325 return nil
326 }
327
328 // Request message for
329 // [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob].
330 type UpdateJobRequest struct {
331 state protoimpl.MessageState
332 sizeCache protoimpl.SizeCache
333 unknownFields protoimpl.UnknownFields
334
335 // Required. The new job properties.
336 // [name][google.cloud.scheduler.v1beta1.Job.name] must be specified.
337 //
338 // Output only fields cannot be modified using UpdateJob.
339 // Any value specified for an output only field will be ignored.
340 Job *Job `protobuf:"bytes,1,opt,name=job,proto3" json:"job,omitempty"`
341 // A mask used to specify which fields of the job are being updated.
342 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
343 }
344
345 func (x *UpdateJobRequest) Reset() {
346 *x = UpdateJobRequest{}
347 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[4]
348 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
349 ms.StoreMessageInfo(mi)
350 }
351
352 func (x *UpdateJobRequest) String() string {
353 return protoimpl.X.MessageStringOf(x)
354 }
355
356 func (*UpdateJobRequest) ProtoMessage() {}
357
358 func (x *UpdateJobRequest) ProtoReflect() protoreflect.Message {
359 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[4]
360 if x != nil {
361 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
362 if ms.LoadMessageInfo() == nil {
363 ms.StoreMessageInfo(mi)
364 }
365 return ms
366 }
367 return mi.MessageOf(x)
368 }
369
370 // Deprecated: Use UpdateJobRequest.ProtoReflect.Descriptor instead.
371 func (*UpdateJobRequest) Descriptor() ([]byte, []int) {
372 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{4}
373 }
374
375 func (x *UpdateJobRequest) GetJob() *Job {
376 if x != nil {
377 return x.Job
378 }
379 return nil
380 }
381
382 func (x *UpdateJobRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
383 if x != nil {
384 return x.UpdateMask
385 }
386 return nil
387 }
388
389 // Request message for deleting a job using
390 // [DeleteJob][google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob].
391 type DeleteJobRequest struct {
392 state protoimpl.MessageState
393 sizeCache protoimpl.SizeCache
394 unknownFields protoimpl.UnknownFields
395
396 // Required. The job name. For example:
397 // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
398 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
399 // This field is used to manage the legacy App Engine Cron jobs using the
400 // Cloud Scheduler API. If the field is set to true, the job in the __cron
401 // queue with the corresponding name will be deleted instead.
402 LegacyAppEngineCron bool `protobuf:"varint,2,opt,name=legacy_app_engine_cron,json=legacyAppEngineCron,proto3" json:"legacy_app_engine_cron,omitempty"`
403 }
404
405 func (x *DeleteJobRequest) Reset() {
406 *x = DeleteJobRequest{}
407 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[5]
408 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
409 ms.StoreMessageInfo(mi)
410 }
411
412 func (x *DeleteJobRequest) String() string {
413 return protoimpl.X.MessageStringOf(x)
414 }
415
416 func (*DeleteJobRequest) ProtoMessage() {}
417
418 func (x *DeleteJobRequest) ProtoReflect() protoreflect.Message {
419 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[5]
420 if x != nil {
421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
422 if ms.LoadMessageInfo() == nil {
423 ms.StoreMessageInfo(mi)
424 }
425 return ms
426 }
427 return mi.MessageOf(x)
428 }
429
430 // Deprecated: Use DeleteJobRequest.ProtoReflect.Descriptor instead.
431 func (*DeleteJobRequest) Descriptor() ([]byte, []int) {
432 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{5}
433 }
434
435 func (x *DeleteJobRequest) GetName() string {
436 if x != nil {
437 return x.Name
438 }
439 return ""
440 }
441
442 func (x *DeleteJobRequest) GetLegacyAppEngineCron() bool {
443 if x != nil {
444 return x.LegacyAppEngineCron
445 }
446 return false
447 }
448
449 // Request message for
450 // [PauseJob][google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob].
451 type PauseJobRequest struct {
452 state protoimpl.MessageState
453 sizeCache protoimpl.SizeCache
454 unknownFields protoimpl.UnknownFields
455
456 // Required. The job name. For example:
457 // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
458 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
459 }
460
461 func (x *PauseJobRequest) Reset() {
462 *x = PauseJobRequest{}
463 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[6]
464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
465 ms.StoreMessageInfo(mi)
466 }
467
468 func (x *PauseJobRequest) String() string {
469 return protoimpl.X.MessageStringOf(x)
470 }
471
472 func (*PauseJobRequest) ProtoMessage() {}
473
474 func (x *PauseJobRequest) ProtoReflect() protoreflect.Message {
475 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[6]
476 if x != nil {
477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
478 if ms.LoadMessageInfo() == nil {
479 ms.StoreMessageInfo(mi)
480 }
481 return ms
482 }
483 return mi.MessageOf(x)
484 }
485
486 // Deprecated: Use PauseJobRequest.ProtoReflect.Descriptor instead.
487 func (*PauseJobRequest) Descriptor() ([]byte, []int) {
488 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{6}
489 }
490
491 func (x *PauseJobRequest) GetName() string {
492 if x != nil {
493 return x.Name
494 }
495 return ""
496 }
497
498 // Request message for
499 // [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob].
500 type ResumeJobRequest struct {
501 state protoimpl.MessageState
502 sizeCache protoimpl.SizeCache
503 unknownFields protoimpl.UnknownFields
504
505 // Required. The job name. For example:
506 // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
507 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
508 }
509
510 func (x *ResumeJobRequest) Reset() {
511 *x = ResumeJobRequest{}
512 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[7]
513 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
514 ms.StoreMessageInfo(mi)
515 }
516
517 func (x *ResumeJobRequest) String() string {
518 return protoimpl.X.MessageStringOf(x)
519 }
520
521 func (*ResumeJobRequest) ProtoMessage() {}
522
523 func (x *ResumeJobRequest) ProtoReflect() protoreflect.Message {
524 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[7]
525 if x != nil {
526 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
527 if ms.LoadMessageInfo() == nil {
528 ms.StoreMessageInfo(mi)
529 }
530 return ms
531 }
532 return mi.MessageOf(x)
533 }
534
535 // Deprecated: Use ResumeJobRequest.ProtoReflect.Descriptor instead.
536 func (*ResumeJobRequest) Descriptor() ([]byte, []int) {
537 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{7}
538 }
539
540 func (x *ResumeJobRequest) GetName() string {
541 if x != nil {
542 return x.Name
543 }
544 return ""
545 }
546
547 // Request message for forcing a job to run now using
548 // [RunJob][google.cloud.scheduler.v1beta1.CloudScheduler.RunJob].
549 type RunJobRequest struct {
550 state protoimpl.MessageState
551 sizeCache protoimpl.SizeCache
552 unknownFields protoimpl.UnknownFields
553
554 // Required. The job name. For example:
555 // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`.
556 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
557 // This field is used to manage the legacy App Engine Cron jobs using the
558 // Cloud Scheduler API. If the field is set to true, the job in the __cron
559 // queue with the corresponding name will be forced to run instead.
560 LegacyAppEngineCron bool `protobuf:"varint,2,opt,name=legacy_app_engine_cron,json=legacyAppEngineCron,proto3" json:"legacy_app_engine_cron,omitempty"`
561 }
562
563 func (x *RunJobRequest) Reset() {
564 *x = RunJobRequest{}
565 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[8]
566 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
567 ms.StoreMessageInfo(mi)
568 }
569
570 func (x *RunJobRequest) String() string {
571 return protoimpl.X.MessageStringOf(x)
572 }
573
574 func (*RunJobRequest) ProtoMessage() {}
575
576 func (x *RunJobRequest) ProtoReflect() protoreflect.Message {
577 mi := &file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes[8]
578 if x != nil {
579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
580 if ms.LoadMessageInfo() == nil {
581 ms.StoreMessageInfo(mi)
582 }
583 return ms
584 }
585 return mi.MessageOf(x)
586 }
587
588 // Deprecated: Use RunJobRequest.ProtoReflect.Descriptor instead.
589 func (*RunJobRequest) Descriptor() ([]byte, []int) {
590 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP(), []int{8}
591 }
592
593 func (x *RunJobRequest) GetName() string {
594 if x != nil {
595 return x.Name
596 }
597 return ""
598 }
599
600 func (x *RunJobRequest) GetLegacyAppEngineCron() bool {
601 if x != nil {
602 return x.LegacyAppEngineCron
603 }
604 return false
605 }
606
607 var File_google_cloud_scheduler_v1beta1_cloudscheduler_proto protoreflect.FileDescriptor
608
609 var file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDesc = []byte{
610 0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73,
611 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
612 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e,
613 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
614 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31,
615 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
616 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72,
617 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
618 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
619 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
620 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67,
621 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
622 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
623 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72,
624 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f,
625 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
626 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
627 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
628 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74,
629 0x6f, 0x22, 0xdd, 0x01, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65,
630 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18,
631 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x12, 0x21, 0x63,
632 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x67, 0x6f,
633 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62,
634 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74,
635 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
636 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20,
637 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a,
638 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28,
639 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x33, 0x0a, 0x16,
640 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e,
641 0x65, 0x5f, 0x63, 0x72, 0x6f, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6c, 0x65,
642 0x67, 0x61, 0x63, 0x79, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x43, 0x72, 0x6f,
643 0x6e, 0x22, 0x73, 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73,
644 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x37, 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x18, 0x01, 0x20,
645 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
646 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62,
647 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x52, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0x26,
648 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
649 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61, 0x67,
650 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x4e, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62,
651 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
652 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63,
653 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x67, 0x6f,
654 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62,
655 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x91, 0x01, 0x0a, 0x10, 0x43, 0x72, 0x65, 0x61, 0x74,
656 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x41, 0x0a, 0x06, 0x70,
657 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02,
658 0xfa, 0x41, 0x23, 0x12, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
659 0x6c, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
660 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x3a,
661 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f,
662 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64,
663 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62,
664 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x22, 0x8b, 0x01, 0x0a, 0x10, 0x55,
665 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
666 0x3a, 0x0a, 0x03, 0x6a, 0x6f, 0x62, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67,
667 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65,
668 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f,
669 0x62, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x6a, 0x6f, 0x62, 0x12, 0x3b, 0x0a, 0x0b, 0x75,
670 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
671 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
672 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70,
673 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x86, 0x01, 0x0a, 0x10, 0x44, 0x65, 0x6c,
674 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a,
675 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02,
676 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
677 0x6c, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
678 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16,
679 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e,
680 0x65, 0x5f, 0x63, 0x72, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6c, 0x65,
681 0x67, 0x61, 0x63, 0x79, 0x41, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x43, 0x72, 0x6f,
682 0x6e, 0x22, 0x50, 0x0a, 0x0f, 0x50, 0x61, 0x75, 0x73, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71,
683 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
684 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75,
685 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
686 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x52, 0x04, 0x6e,
687 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x4a, 0x6f, 0x62,
688 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
689 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21, 0x63,
690 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x67, 0x6f,
691 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f, 0x62,
692 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0d, 0x52, 0x75, 0x6e, 0x4a, 0x6f,
693 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x3d, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
694 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x29, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x23, 0x0a, 0x21,
695 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x67,
696 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x4a, 0x6f,
697 0x62, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x33, 0x0a, 0x16, 0x6c, 0x65, 0x67, 0x61, 0x63,
698 0x79, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x63, 0x72, 0x6f,
699 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x6c, 0x65, 0x67, 0x61, 0x63, 0x79, 0x41,
700 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x43, 0x72, 0x6f, 0x6e, 0x32, 0xa6, 0x0b, 0x0a,
701 0x0e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x12,
702 0xad, 0x01, 0x0a, 0x08, 0x4c, 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x12, 0x2f, 0x2e, 0x67,
703 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65,
704 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c, 0x69,
705 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x30, 0x2e,
706 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68,
707 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4c,
708 0x69, 0x73, 0x74, 0x4a, 0x6f, 0x62, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
709 0x3e, 0xda, 0x41, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f,
710 0x12, 0x2d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
711 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
712 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x12,
713 0x9a, 0x01, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x4a, 0x6f, 0x62, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f,
714 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
715 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4a,
716 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
717 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
718 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x3c,
719 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x12, 0x2d, 0x2f,
720 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72,
721 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
722 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xab, 0x01, 0x0a,
723 0x09, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f,
724 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
725 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
726 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67,
727 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65,
728 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f,
729 0x62, 0x22, 0x47, 0xda, 0x41, 0x0a, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x2c, 0x6a, 0x6f, 0x62,
730 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x34, 0x3a, 0x03, 0x6a, 0x6f, 0x62, 0x22, 0x2d, 0x2f, 0x76, 0x31,
731 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72,
732 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
733 0x6e, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0xb4, 0x01, 0x0a, 0x09, 0x55,
734 0x70, 0x64, 0x61, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
735 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,
736 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
737 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f,
738 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75,
739 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x22,
740 0x50, 0xda, 0x41, 0x0f, 0x6a, 0x6f, 0x62, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
741 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x3a, 0x03, 0x6a, 0x6f, 0x62, 0x32, 0x31,
742 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6a, 0x6f, 0x62, 0x2e, 0x6e, 0x61,
743 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f,
744 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a,
745 0x7d, 0x12, 0x93, 0x01, 0x0a, 0x09, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x12,
746 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
747 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
748 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
749 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
750 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x3c, 0xda, 0x41, 0x04, 0x6e, 0x61,
751 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x2f, 0x2a, 0x2d, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
752 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
753 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
754 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa7, 0x01, 0x0a, 0x08, 0x50, 0x61, 0x75, 0x73,
755 0x65, 0x4a, 0x6f, 0x62, 0x12, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c,
756 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31,
757 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x50, 0x61, 0x75, 0x73, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65,
758 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
759 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76,
760 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x45, 0xda, 0x41, 0x04, 0x6e,
761 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x38, 0x3a, 0x01, 0x2a, 0x22, 0x33, 0x2f, 0x76,
762 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f,
763 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
764 0x73, 0x2f, 0x2a, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x70, 0x61, 0x75, 0x73,
765 0x65, 0x12, 0xaa, 0x01, 0x0a, 0x09, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x4a, 0x6f, 0x62, 0x12,
766 0x30, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73,
767 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31,
768 0x2e, 0x52, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x4a, 0x6f, 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
769 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
770 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74,
771 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x46, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82,
772 0xd3, 0xe4, 0x93, 0x02, 0x39, 0x3a, 0x01, 0x2a, 0x22, 0x34, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74,
773 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
774 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f,
775 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x73, 0x75, 0x6d, 0x65, 0x12, 0xa1,
776 0x01, 0x0a, 0x06, 0x52, 0x75, 0x6e, 0x4a, 0x6f, 0x62, 0x12, 0x2d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
777 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
778 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x75, 0x6e, 0x4a, 0x6f,
779 0x62, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
780 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65,
781 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x22, 0x43, 0xda,
782 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x36, 0x3a, 0x01, 0x2a, 0x22,
783 0x31, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
784 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x2a, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74,
785 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x2a, 0x2f, 0x6a, 0x6f, 0x62, 0x73, 0x2f, 0x2a, 0x7d, 0x3a, 0x72,
786 0x75, 0x6e, 0x1a, 0x51, 0xca, 0x41, 0x1d, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65,
787 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
788 0x2e, 0x63, 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77,
789 0x77, 0x77, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
790 0x6d, 0x2f, 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61,
791 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x42, 0x84, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f,
792 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64,
793 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x42, 0x0e, 0x53, 0x63,
794 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x40,
795 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
796 0x2f, 0x67, 0x6f, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x61, 0x70,
797 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
798 0x65, 0x72, 0x70, 0x62, 0x3b, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x70, 0x62,
799 0xa2, 0x02, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x52, 0x62, 0x06, 0x70, 0x72,
800 0x6f, 0x74, 0x6f, 0x33,
801 }
802
803 var (
804 file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescOnce sync.Once
805 file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescData = file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDesc
806 )
807
808 func file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescGZIP() []byte {
809 file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescOnce.Do(func() {
810 file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescData)
811 })
812 return file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDescData
813 }
814
815 var file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes = make([]protoimpl.MessageInfo, 9)
816 var file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_goTypes = []any{
817 (*ListJobsRequest)(nil), // 0: google.cloud.scheduler.v1beta1.ListJobsRequest
818 (*ListJobsResponse)(nil), // 1: google.cloud.scheduler.v1beta1.ListJobsResponse
819 (*GetJobRequest)(nil), // 2: google.cloud.scheduler.v1beta1.GetJobRequest
820 (*CreateJobRequest)(nil), // 3: google.cloud.scheduler.v1beta1.CreateJobRequest
821 (*UpdateJobRequest)(nil), // 4: google.cloud.scheduler.v1beta1.UpdateJobRequest
822 (*DeleteJobRequest)(nil), // 5: google.cloud.scheduler.v1beta1.DeleteJobRequest
823 (*PauseJobRequest)(nil), // 6: google.cloud.scheduler.v1beta1.PauseJobRequest
824 (*ResumeJobRequest)(nil), // 7: google.cloud.scheduler.v1beta1.ResumeJobRequest
825 (*RunJobRequest)(nil), // 8: google.cloud.scheduler.v1beta1.RunJobRequest
826 (*Job)(nil), // 9: google.cloud.scheduler.v1beta1.Job
827 (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask
828 (*emptypb.Empty)(nil), // 11: google.protobuf.Empty
829 }
830 var file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_depIdxs = []int32{
831 9, // 0: google.cloud.scheduler.v1beta1.ListJobsResponse.jobs:type_name -> google.cloud.scheduler.v1beta1.Job
832 9, // 1: google.cloud.scheduler.v1beta1.CreateJobRequest.job:type_name -> google.cloud.scheduler.v1beta1.Job
833 9, // 2: google.cloud.scheduler.v1beta1.UpdateJobRequest.job:type_name -> google.cloud.scheduler.v1beta1.Job
834 10, // 3: google.cloud.scheduler.v1beta1.UpdateJobRequest.update_mask:type_name -> google.protobuf.FieldMask
835 0, // 4: google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs:input_type -> google.cloud.scheduler.v1beta1.ListJobsRequest
836 2, // 5: google.cloud.scheduler.v1beta1.CloudScheduler.GetJob:input_type -> google.cloud.scheduler.v1beta1.GetJobRequest
837 3, // 6: google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob:input_type -> google.cloud.scheduler.v1beta1.CreateJobRequest
838 4, // 7: google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob:input_type -> google.cloud.scheduler.v1beta1.UpdateJobRequest
839 5, // 8: google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob:input_type -> google.cloud.scheduler.v1beta1.DeleteJobRequest
840 6, // 9: google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob:input_type -> google.cloud.scheduler.v1beta1.PauseJobRequest
841 7, // 10: google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob:input_type -> google.cloud.scheduler.v1beta1.ResumeJobRequest
842 8, // 11: google.cloud.scheduler.v1beta1.CloudScheduler.RunJob:input_type -> google.cloud.scheduler.v1beta1.RunJobRequest
843 1, // 12: google.cloud.scheduler.v1beta1.CloudScheduler.ListJobs:output_type -> google.cloud.scheduler.v1beta1.ListJobsResponse
844 9, // 13: google.cloud.scheduler.v1beta1.CloudScheduler.GetJob:output_type -> google.cloud.scheduler.v1beta1.Job
845 9, // 14: google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob:output_type -> google.cloud.scheduler.v1beta1.Job
846 9, // 15: google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob:output_type -> google.cloud.scheduler.v1beta1.Job
847 11, // 16: google.cloud.scheduler.v1beta1.CloudScheduler.DeleteJob:output_type -> google.protobuf.Empty
848 9, // 17: google.cloud.scheduler.v1beta1.CloudScheduler.PauseJob:output_type -> google.cloud.scheduler.v1beta1.Job
849 9, // 18: google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob:output_type -> google.cloud.scheduler.v1beta1.Job
850 9, // 19: google.cloud.scheduler.v1beta1.CloudScheduler.RunJob:output_type -> google.cloud.scheduler.v1beta1.Job
851 12, // [12:20] is the sub-list for method output_type
852 4, // [4:12] is the sub-list for method input_type
853 4, // [4:4] is the sub-list for extension type_name
854 4, // [4:4] is the sub-list for extension extendee
855 0, // [0:4] is the sub-list for field type_name
856 }
857
858 func init() { file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_init() }
859 func file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_init() {
860 if File_google_cloud_scheduler_v1beta1_cloudscheduler_proto != nil {
861 return
862 }
863 file_google_cloud_scheduler_v1beta1_job_proto_init()
864 type x struct{}
865 out := protoimpl.TypeBuilder{
866 File: protoimpl.DescBuilder{
867 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
868 RawDescriptor: file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDesc,
869 NumEnums: 0,
870 NumMessages: 9,
871 NumExtensions: 0,
872 NumServices: 1,
873 },
874 GoTypes: file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_goTypes,
875 DependencyIndexes: file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_depIdxs,
876 MessageInfos: file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_msgTypes,
877 }.Build()
878 File_google_cloud_scheduler_v1beta1_cloudscheduler_proto = out.File
879 file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_rawDesc = nil
880 file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_goTypes = nil
881 file_google_cloud_scheduler_v1beta1_cloudscheduler_proto_depIdxs = nil
882 }
883
884 // Reference imports to suppress errors if they are not otherwise used.
885 var _ context.Context
886 var _ grpc.ClientConnInterface
887
888 // This is a compile-time assertion to ensure that this generated file
889 // is compatible with the grpc package it is being compiled against.
890 const _ = grpc.SupportPackageIsVersion6
891
892 // CloudSchedulerClient is the client API for CloudScheduler service.
893 //
894 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
895 type CloudSchedulerClient interface {
896 // Lists jobs.
897 ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error)
898 // Gets a job.
899 GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error)
900 // Creates a job.
901 CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error)
902 // Updates a job.
903 //
904 // If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is
905 // returned. If the job does not exist, `NOT_FOUND` is returned.
906 //
907 // If UpdateJob does not successfully return, it is possible for the
908 // job to be in an
909 // [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]
910 // state. A job in this state may not be executed. If this happens, retry the
911 // UpdateJob request until a successful response is received.
912 UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error)
913 // Deletes a job.
914 DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
915 // Pauses a job.
916 //
917 // If a job is paused then the system will stop executing the job
918 // until it is re-enabled via
919 // [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
920 // state of the job is stored in
921 // [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set
922 // to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A
923 // job must be in
924 // [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be
925 // paused.
926 PauseJob(ctx context.Context, in *PauseJobRequest, opts ...grpc.CallOption) (*Job, error)
927 // Resume a job.
928 //
929 // This method reenables a job after it has been
930 // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
931 // state of a job is stored in
932 // [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this
933 // method it will be set to
934 // [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A
935 // job must be in
936 // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be
937 // resumed.
938 ResumeJob(ctx context.Context, in *ResumeJobRequest, opts ...grpc.CallOption) (*Job, error)
939 // Forces a job to run now.
940 //
941 // When this method is called, Cloud Scheduler will dispatch the job, even
942 // if the job is already running.
943 RunJob(ctx context.Context, in *RunJobRequest, opts ...grpc.CallOption) (*Job, error)
944 }
945
946 type cloudSchedulerClient struct {
947 cc grpc.ClientConnInterface
948 }
949
950 func NewCloudSchedulerClient(cc grpc.ClientConnInterface) CloudSchedulerClient {
951 return &cloudSchedulerClient{cc}
952 }
953
954 func (c *cloudSchedulerClient) ListJobs(ctx context.Context, in *ListJobsRequest, opts ...grpc.CallOption) (*ListJobsResponse, error) {
955 out := new(ListJobsResponse)
956 err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/ListJobs", in, out, opts...)
957 if err != nil {
958 return nil, err
959 }
960 return out, nil
961 }
962
963 func (c *cloudSchedulerClient) GetJob(ctx context.Context, in *GetJobRequest, opts ...grpc.CallOption) (*Job, error) {
964 out := new(Job)
965 err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/GetJob", in, out, opts...)
966 if err != nil {
967 return nil, err
968 }
969 return out, nil
970 }
971
972 func (c *cloudSchedulerClient) CreateJob(ctx context.Context, in *CreateJobRequest, opts ...grpc.CallOption) (*Job, error) {
973 out := new(Job)
974 err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/CreateJob", in, out, opts...)
975 if err != nil {
976 return nil, err
977 }
978 return out, nil
979 }
980
981 func (c *cloudSchedulerClient) UpdateJob(ctx context.Context, in *UpdateJobRequest, opts ...grpc.CallOption) (*Job, error) {
982 out := new(Job)
983 err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/UpdateJob", in, out, opts...)
984 if err != nil {
985 return nil, err
986 }
987 return out, nil
988 }
989
990 func (c *cloudSchedulerClient) DeleteJob(ctx context.Context, in *DeleteJobRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
991 out := new(emptypb.Empty)
992 err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/DeleteJob", in, out, opts...)
993 if err != nil {
994 return nil, err
995 }
996 return out, nil
997 }
998
999 func (c *cloudSchedulerClient) PauseJob(ctx context.Context, in *PauseJobRequest, opts ...grpc.CallOption) (*Job, error) {
1000 out := new(Job)
1001 err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/PauseJob", in, out, opts...)
1002 if err != nil {
1003 return nil, err
1004 }
1005 return out, nil
1006 }
1007
1008 func (c *cloudSchedulerClient) ResumeJob(ctx context.Context, in *ResumeJobRequest, opts ...grpc.CallOption) (*Job, error) {
1009 out := new(Job)
1010 err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/ResumeJob", in, out, opts...)
1011 if err != nil {
1012 return nil, err
1013 }
1014 return out, nil
1015 }
1016
1017 func (c *cloudSchedulerClient) RunJob(ctx context.Context, in *RunJobRequest, opts ...grpc.CallOption) (*Job, error) {
1018 out := new(Job)
1019 err := c.cc.Invoke(ctx, "/google.cloud.scheduler.v1beta1.CloudScheduler/RunJob", in, out, opts...)
1020 if err != nil {
1021 return nil, err
1022 }
1023 return out, nil
1024 }
1025
1026 // CloudSchedulerServer is the server API for CloudScheduler service.
1027 type CloudSchedulerServer interface {
1028 // Lists jobs.
1029 ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error)
1030 // Gets a job.
1031 GetJob(context.Context, *GetJobRequest) (*Job, error)
1032 // Creates a job.
1033 CreateJob(context.Context, *CreateJobRequest) (*Job, error)
1034 // Updates a job.
1035 //
1036 // If successful, the updated [Job][google.cloud.scheduler.v1beta1.Job] is
1037 // returned. If the job does not exist, `NOT_FOUND` is returned.
1038 //
1039 // If UpdateJob does not successfully return, it is possible for the
1040 // job to be in an
1041 // [Job.State.UPDATE_FAILED][google.cloud.scheduler.v1beta1.Job.State.UPDATE_FAILED]
1042 // state. A job in this state may not be executed. If this happens, retry the
1043 // UpdateJob request until a successful response is received.
1044 UpdateJob(context.Context, *UpdateJobRequest) (*Job, error)
1045 // Deletes a job.
1046 DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error)
1047 // Pauses a job.
1048 //
1049 // If a job is paused then the system will stop executing the job
1050 // until it is re-enabled via
1051 // [ResumeJob][google.cloud.scheduler.v1beta1.CloudScheduler.ResumeJob]. The
1052 // state of the job is stored in
1053 // [state][google.cloud.scheduler.v1beta1.Job.state]; if paused it will be set
1054 // to [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. A
1055 // job must be in
1056 // [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED] to be
1057 // paused.
1058 PauseJob(context.Context, *PauseJobRequest) (*Job, error)
1059 // Resume a job.
1060 //
1061 // This method reenables a job after it has been
1062 // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED]. The
1063 // state of a job is stored in
1064 // [Job.state][google.cloud.scheduler.v1beta1.Job.state]; after calling this
1065 // method it will be set to
1066 // [Job.State.ENABLED][google.cloud.scheduler.v1beta1.Job.State.ENABLED]. A
1067 // job must be in
1068 // [Job.State.PAUSED][google.cloud.scheduler.v1beta1.Job.State.PAUSED] to be
1069 // resumed.
1070 ResumeJob(context.Context, *ResumeJobRequest) (*Job, error)
1071 // Forces a job to run now.
1072 //
1073 // When this method is called, Cloud Scheduler will dispatch the job, even
1074 // if the job is already running.
1075 RunJob(context.Context, *RunJobRequest) (*Job, error)
1076 }
1077
1078 // UnimplementedCloudSchedulerServer can be embedded to have forward compatible implementations.
1079 type UnimplementedCloudSchedulerServer struct {
1080 }
1081
1082 func (*UnimplementedCloudSchedulerServer) ListJobs(context.Context, *ListJobsRequest) (*ListJobsResponse, error) {
1083 return nil, status.Errorf(codes.Unimplemented, "method ListJobs not implemented")
1084 }
1085 func (*UnimplementedCloudSchedulerServer) GetJob(context.Context, *GetJobRequest) (*Job, error) {
1086 return nil, status.Errorf(codes.Unimplemented, "method GetJob not implemented")
1087 }
1088 func (*UnimplementedCloudSchedulerServer) CreateJob(context.Context, *CreateJobRequest) (*Job, error) {
1089 return nil, status.Errorf(codes.Unimplemented, "method CreateJob not implemented")
1090 }
1091 func (*UnimplementedCloudSchedulerServer) UpdateJob(context.Context, *UpdateJobRequest) (*Job, error) {
1092 return nil, status.Errorf(codes.Unimplemented, "method UpdateJob not implemented")
1093 }
1094 func (*UnimplementedCloudSchedulerServer) DeleteJob(context.Context, *DeleteJobRequest) (*emptypb.Empty, error) {
1095 return nil, status.Errorf(codes.Unimplemented, "method DeleteJob not implemented")
1096 }
1097 func (*UnimplementedCloudSchedulerServer) PauseJob(context.Context, *PauseJobRequest) (*Job, error) {
1098 return nil, status.Errorf(codes.Unimplemented, "method PauseJob not implemented")
1099 }
1100 func (*UnimplementedCloudSchedulerServer) ResumeJob(context.Context, *ResumeJobRequest) (*Job, error) {
1101 return nil, status.Errorf(codes.Unimplemented, "method ResumeJob not implemented")
1102 }
1103 func (*UnimplementedCloudSchedulerServer) RunJob(context.Context, *RunJobRequest) (*Job, error) {
1104 return nil, status.Errorf(codes.Unimplemented, "method RunJob not implemented")
1105 }
1106
1107 func RegisterCloudSchedulerServer(s *grpc.Server, srv CloudSchedulerServer) {
1108 s.RegisterService(&_CloudScheduler_serviceDesc, srv)
1109 }
1110
1111 func _CloudScheduler_ListJobs_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1112 in := new(ListJobsRequest)
1113 if err := dec(in); err != nil {
1114 return nil, err
1115 }
1116 if interceptor == nil {
1117 return srv.(CloudSchedulerServer).ListJobs(ctx, in)
1118 }
1119 info := &grpc.UnaryServerInfo{
1120 Server: srv,
1121 FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/ListJobs",
1122 }
1123 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1124 return srv.(CloudSchedulerServer).ListJobs(ctx, req.(*ListJobsRequest))
1125 }
1126 return interceptor(ctx, in, info, handler)
1127 }
1128
1129 func _CloudScheduler_GetJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1130 in := new(GetJobRequest)
1131 if err := dec(in); err != nil {
1132 return nil, err
1133 }
1134 if interceptor == nil {
1135 return srv.(CloudSchedulerServer).GetJob(ctx, in)
1136 }
1137 info := &grpc.UnaryServerInfo{
1138 Server: srv,
1139 FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/GetJob",
1140 }
1141 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1142 return srv.(CloudSchedulerServer).GetJob(ctx, req.(*GetJobRequest))
1143 }
1144 return interceptor(ctx, in, info, handler)
1145 }
1146
1147 func _CloudScheduler_CreateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1148 in := new(CreateJobRequest)
1149 if err := dec(in); err != nil {
1150 return nil, err
1151 }
1152 if interceptor == nil {
1153 return srv.(CloudSchedulerServer).CreateJob(ctx, in)
1154 }
1155 info := &grpc.UnaryServerInfo{
1156 Server: srv,
1157 FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/CreateJob",
1158 }
1159 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1160 return srv.(CloudSchedulerServer).CreateJob(ctx, req.(*CreateJobRequest))
1161 }
1162 return interceptor(ctx, in, info, handler)
1163 }
1164
1165 func _CloudScheduler_UpdateJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1166 in := new(UpdateJobRequest)
1167 if err := dec(in); err != nil {
1168 return nil, err
1169 }
1170 if interceptor == nil {
1171 return srv.(CloudSchedulerServer).UpdateJob(ctx, in)
1172 }
1173 info := &grpc.UnaryServerInfo{
1174 Server: srv,
1175 FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/UpdateJob",
1176 }
1177 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1178 return srv.(CloudSchedulerServer).UpdateJob(ctx, req.(*UpdateJobRequest))
1179 }
1180 return interceptor(ctx, in, info, handler)
1181 }
1182
1183 func _CloudScheduler_DeleteJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1184 in := new(DeleteJobRequest)
1185 if err := dec(in); err != nil {
1186 return nil, err
1187 }
1188 if interceptor == nil {
1189 return srv.(CloudSchedulerServer).DeleteJob(ctx, in)
1190 }
1191 info := &grpc.UnaryServerInfo{
1192 Server: srv,
1193 FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/DeleteJob",
1194 }
1195 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1196 return srv.(CloudSchedulerServer).DeleteJob(ctx, req.(*DeleteJobRequest))
1197 }
1198 return interceptor(ctx, in, info, handler)
1199 }
1200
1201 func _CloudScheduler_PauseJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1202 in := new(PauseJobRequest)
1203 if err := dec(in); err != nil {
1204 return nil, err
1205 }
1206 if interceptor == nil {
1207 return srv.(CloudSchedulerServer).PauseJob(ctx, in)
1208 }
1209 info := &grpc.UnaryServerInfo{
1210 Server: srv,
1211 FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/PauseJob",
1212 }
1213 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1214 return srv.(CloudSchedulerServer).PauseJob(ctx, req.(*PauseJobRequest))
1215 }
1216 return interceptor(ctx, in, info, handler)
1217 }
1218
1219 func _CloudScheduler_ResumeJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1220 in := new(ResumeJobRequest)
1221 if err := dec(in); err != nil {
1222 return nil, err
1223 }
1224 if interceptor == nil {
1225 return srv.(CloudSchedulerServer).ResumeJob(ctx, in)
1226 }
1227 info := &grpc.UnaryServerInfo{
1228 Server: srv,
1229 FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/ResumeJob",
1230 }
1231 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1232 return srv.(CloudSchedulerServer).ResumeJob(ctx, req.(*ResumeJobRequest))
1233 }
1234 return interceptor(ctx, in, info, handler)
1235 }
1236
1237 func _CloudScheduler_RunJob_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1238 in := new(RunJobRequest)
1239 if err := dec(in); err != nil {
1240 return nil, err
1241 }
1242 if interceptor == nil {
1243 return srv.(CloudSchedulerServer).RunJob(ctx, in)
1244 }
1245 info := &grpc.UnaryServerInfo{
1246 Server: srv,
1247 FullMethod: "/google.cloud.scheduler.v1beta1.CloudScheduler/RunJob",
1248 }
1249 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1250 return srv.(CloudSchedulerServer).RunJob(ctx, req.(*RunJobRequest))
1251 }
1252 return interceptor(ctx, in, info, handler)
1253 }
1254
1255 var _CloudScheduler_serviceDesc = grpc.ServiceDesc{
1256 ServiceName: "google.cloud.scheduler.v1beta1.CloudScheduler",
1257 HandlerType: (*CloudSchedulerServer)(nil),
1258 Methods: []grpc.MethodDesc{
1259 {
1260 MethodName: "ListJobs",
1261 Handler: _CloudScheduler_ListJobs_Handler,
1262 },
1263 {
1264 MethodName: "GetJob",
1265 Handler: _CloudScheduler_GetJob_Handler,
1266 },
1267 {
1268 MethodName: "CreateJob",
1269 Handler: _CloudScheduler_CreateJob_Handler,
1270 },
1271 {
1272 MethodName: "UpdateJob",
1273 Handler: _CloudScheduler_UpdateJob_Handler,
1274 },
1275 {
1276 MethodName: "DeleteJob",
1277 Handler: _CloudScheduler_DeleteJob_Handler,
1278 },
1279 {
1280 MethodName: "PauseJob",
1281 Handler: _CloudScheduler_PauseJob_Handler,
1282 },
1283 {
1284 MethodName: "ResumeJob",
1285 Handler: _CloudScheduler_ResumeJob_Handler,
1286 },
1287 {
1288 MethodName: "RunJob",
1289 Handler: _CloudScheduler_RunJob_Handler,
1290 },
1291 },
1292 Streams: []grpc.StreamDesc{},
1293 Metadata: "google/cloud/scheduler/v1beta1/cloudscheduler.proto",
1294 }