Debian Codegraph @

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