1// Copyright 2019 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 16// Code generated by protoc-gen-go. DO NOT EDIT. 17// versions: 18// protoc-gen-go v1.25.0 19// protoc v3.13.0 20// source: google/cloud/scheduler/v1beta1/job.proto 21 22package scheduler 23 24import ( 25 reflect "reflect" 26 sync "sync" 27 28 proto "github.com/golang/protobuf/proto" 29 _ "google.golang.org/genproto/googleapis/api/annotations" 30 status "google.golang.org/genproto/googleapis/rpc/status" 31 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 32 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 33 durationpb "google.golang.org/protobuf/types/known/durationpb" 34 timestamppb "google.golang.org/protobuf/types/known/timestamppb" 35) 36 37const ( 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// This is a compile-time assertion that a sufficiently up-to-date version 45// of the legacy proto package is being used. 46const _ = proto.ProtoPackageIsVersion4 47 48// State of the job. 49type Job_State int32 50 51const ( 52 // Unspecified state. 53 Job_STATE_UNSPECIFIED Job_State = 0 54 // The job is executing normally. 55 Job_ENABLED Job_State = 1 56 // The job is paused by the user. It will not execute. A user can 57 // intentionally pause the job using 58 // [PauseJobRequest][google.cloud.scheduler.v1beta1.PauseJobRequest]. 59 Job_PAUSED Job_State = 2 60 // The job is disabled by the system due to error. The user 61 // cannot directly set a job to be disabled. 62 Job_DISABLED Job_State = 3 63 // The job state resulting from a failed [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob] 64 // operation. To recover a job from this state, retry 65 // [CloudScheduler.UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob] until a successful response is received. 66 Job_UPDATE_FAILED Job_State = 4 67) 68 69// Enum value maps for Job_State. 70var ( 71 Job_State_name = map[int32]string{ 72 0: "STATE_UNSPECIFIED", 73 1: "ENABLED", 74 2: "PAUSED", 75 3: "DISABLED", 76 4: "UPDATE_FAILED", 77 } 78 Job_State_value = map[string]int32{ 79 "STATE_UNSPECIFIED": 0, 80 "ENABLED": 1, 81 "PAUSED": 2, 82 "DISABLED": 3, 83 "UPDATE_FAILED": 4, 84 } 85) 86 87func (x Job_State) Enum() *Job_State { 88 p := new(Job_State) 89 *p = x 90 return p 91} 92 93func (x Job_State) String() string { 94 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 95} 96 97func (Job_State) Descriptor() protoreflect.EnumDescriptor { 98 return file_google_cloud_scheduler_v1beta1_job_proto_enumTypes[0].Descriptor() 99} 100 101func (Job_State) Type() protoreflect.EnumType { 102 return &file_google_cloud_scheduler_v1beta1_job_proto_enumTypes[0] 103} 104 105func (x Job_State) Number() protoreflect.EnumNumber { 106 return protoreflect.EnumNumber(x) 107} 108 109// Deprecated: Use Job_State.Descriptor instead. 110func (Job_State) EnumDescriptor() ([]byte, []int) { 111 return file_google_cloud_scheduler_v1beta1_job_proto_rawDescGZIP(), []int{0, 0} 112} 113 114// Configuration for a job. 115// The maximum allowed size for a job is 100KB. 116type Job struct { 117 state protoimpl.MessageState 118 sizeCache protoimpl.SizeCache 119 unknownFields protoimpl.UnknownFields 120 121 // Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob], after 122 // which it becomes output only. 123 // 124 // The job name. For example: 125 // `projects/PROJECT_ID/locations/LOCATION_ID/jobs/JOB_ID`. 126 // 127 // * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), 128 // hyphens (-), colons (:), or periods (.). 129 // For more information, see 130 // [Identifying 131 // projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) 132 // * `LOCATION_ID` is the canonical ID for the job's location. 133 // The list of available locations can be obtained by calling 134 // [ListLocations][google.cloud.location.Locations.ListLocations]. 135 // For more information, see https://cloud.google.com/about/locations/. 136 // * `JOB_ID` can contain only letters ([A-Za-z]), numbers ([0-9]), 137 // hyphens (-), or underscores (_). The maximum length is 500 characters. 138 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 139 // Optionally caller-specified in [CreateJob][google.cloud.scheduler.v1beta1.CloudScheduler.CreateJob] or 140 // [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]. 141 // 142 // A human-readable description for the job. This string must not contain 143 // more than 500 characters. 144 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 145 // Required. 146 // 147 // Delivery settings containing destination and parameters. 148 // 149 // Types that are assignable to Target: 150 // *Job_PubsubTarget 151 // *Job_AppEngineHttpTarget 152 // *Job_HttpTarget 153 Target isJob_Target `protobuf_oneof:"target"` 154 // Required, except when used with [UpdateJob][google.cloud.scheduler.v1beta1.CloudScheduler.UpdateJob]. 155 // 156 // Describes the schedule on which the job will be executed. 157 // 158 // The schedule can be either of the following types: 159 // 160 // * [Crontab](http://en.wikipedia.org/wiki/Cron#Overview) 161 // * English-like 162 // [schedule](https://cloud.google.com/scheduler/docs/configuring/cron-job-schedules) 163 // 164 // As a general rule, execution `n + 1` of a job will not begin 165 // until execution `n` has finished. Cloud Scheduler will never 166 // allow two simultaneously outstanding executions. For example, 167 // this implies that if the `n+1`th execution is scheduled to run at 168 // 16:00 but the `n`th execution takes until 16:15, the `n+1`th 169 // execution will not start until `16:15`. 170 // A scheduled start time will be delayed if the previous 171 // execution has not ended when its scheduled time occurs. 172 // 173 // If [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] > 0 and a job attempt fails, 174 // the job will be tried a total of [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] 175 // times, with exponential backoff, until the next scheduled start 176 // time. 177 Schedule string `protobuf:"bytes,20,opt,name=schedule,proto3" json:"schedule,omitempty"` 178 // Specifies the time zone to be used in interpreting 179 // [schedule][google.cloud.scheduler.v1beta1.Job.schedule]. The value of this field must be a time 180 // zone name from the [tz database](http://en.wikipedia.org/wiki/Tz_database). 181 // 182 // Note that some time zones include a provision for 183 // daylight savings time. The rules for daylight saving time are 184 // determined by the chosen tz. For UTC use the string "utc". If a 185 // time zone is not specified, the default will be in UTC (also known 186 // as GMT). 187 TimeZone string `protobuf:"bytes,21,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"` 188 // Output only. The creation time of the job. 189 UserUpdateTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=user_update_time,json=userUpdateTime,proto3" json:"user_update_time,omitempty"` 190 // Output only. State of the job. 191 State Job_State `protobuf:"varint,10,opt,name=state,proto3,enum=google.cloud.scheduler.v1beta1.Job_State" json:"state,omitempty"` 192 // Output only. The response from the target for the last attempted execution. 193 Status *status.Status `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` 194 // Output only. The next time the job is scheduled. Note that this may be a 195 // retry of a previously failed attempt or the next execution time 196 // according to the schedule. 197 ScheduleTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=schedule_time,json=scheduleTime,proto3" json:"schedule_time,omitempty"` 198 // Output only. The time the last job attempt started. 199 LastAttemptTime *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=last_attempt_time,json=lastAttemptTime,proto3" json:"last_attempt_time,omitempty"` 200 // Settings that determine the retry behavior. 201 RetryConfig *RetryConfig `protobuf:"bytes,19,opt,name=retry_config,json=retryConfig,proto3" json:"retry_config,omitempty"` 202 // The deadline for job attempts. If the request handler does not respond by 203 // this deadline then the request is cancelled and the attempt is marked as a 204 // `DEADLINE_EXCEEDED` failure. The failed attempt can be viewed in 205 // execution logs. Cloud Scheduler will retry the job according 206 // to the [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig]. 207 // 208 // The allowed duration for this deadline is: 209 // 210 // * For [HTTP targets][google.cloud.scheduler.v1beta1.Job.http_target], between 15 seconds and 30 minutes. 211 // * For [App Engine HTTP targets][google.cloud.scheduler.v1beta1.Job.app_engine_http_target], between 15 212 // seconds and 24 hours. 213 // * For [PubSub targets][google.cloud.scheduler.v1beta1.Job.pubsub_target], this field is ignored. 214 AttemptDeadline *durationpb.Duration `protobuf:"bytes,22,opt,name=attempt_deadline,json=attemptDeadline,proto3" json:"attempt_deadline,omitempty"` 215} 216 217func (x *Job) Reset() { 218 *x = Job{} 219 if protoimpl.UnsafeEnabled { 220 mi := &file_google_cloud_scheduler_v1beta1_job_proto_msgTypes[0] 221 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 222 ms.StoreMessageInfo(mi) 223 } 224} 225 226func (x *Job) String() string { 227 return protoimpl.X.MessageStringOf(x) 228} 229 230func (*Job) ProtoMessage() {} 231 232func (x *Job) ProtoReflect() protoreflect.Message { 233 mi := &file_google_cloud_scheduler_v1beta1_job_proto_msgTypes[0] 234 if protoimpl.UnsafeEnabled && x != nil { 235 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 236 if ms.LoadMessageInfo() == nil { 237 ms.StoreMessageInfo(mi) 238 } 239 return ms 240 } 241 return mi.MessageOf(x) 242} 243 244// Deprecated: Use Job.ProtoReflect.Descriptor instead. 245func (*Job) Descriptor() ([]byte, []int) { 246 return file_google_cloud_scheduler_v1beta1_job_proto_rawDescGZIP(), []int{0} 247} 248 249func (x *Job) GetName() string { 250 if x != nil { 251 return x.Name 252 } 253 return "" 254} 255 256func (x *Job) GetDescription() string { 257 if x != nil { 258 return x.Description 259 } 260 return "" 261} 262 263func (m *Job) GetTarget() isJob_Target { 264 if m != nil { 265 return m.Target 266 } 267 return nil 268} 269 270func (x *Job) GetPubsubTarget() *PubsubTarget { 271 if x, ok := x.GetTarget().(*Job_PubsubTarget); ok { 272 return x.PubsubTarget 273 } 274 return nil 275} 276 277func (x *Job) GetAppEngineHttpTarget() *AppEngineHttpTarget { 278 if x, ok := x.GetTarget().(*Job_AppEngineHttpTarget); ok { 279 return x.AppEngineHttpTarget 280 } 281 return nil 282} 283 284func (x *Job) GetHttpTarget() *HttpTarget { 285 if x, ok := x.GetTarget().(*Job_HttpTarget); ok { 286 return x.HttpTarget 287 } 288 return nil 289} 290 291func (x *Job) GetSchedule() string { 292 if x != nil { 293 return x.Schedule 294 } 295 return "" 296} 297 298func (x *Job) GetTimeZone() string { 299 if x != nil { 300 return x.TimeZone 301 } 302 return "" 303} 304 305func (x *Job) GetUserUpdateTime() *timestamppb.Timestamp { 306 if x != nil { 307 return x.UserUpdateTime 308 } 309 return nil 310} 311 312func (x *Job) GetState() Job_State { 313 if x != nil { 314 return x.State 315 } 316 return Job_STATE_UNSPECIFIED 317} 318 319func (x *Job) GetStatus() *status.Status { 320 if x != nil { 321 return x.Status 322 } 323 return nil 324} 325 326func (x *Job) GetScheduleTime() *timestamppb.Timestamp { 327 if x != nil { 328 return x.ScheduleTime 329 } 330 return nil 331} 332 333func (x *Job) GetLastAttemptTime() *timestamppb.Timestamp { 334 if x != nil { 335 return x.LastAttemptTime 336 } 337 return nil 338} 339 340func (x *Job) GetRetryConfig() *RetryConfig { 341 if x != nil { 342 return x.RetryConfig 343 } 344 return nil 345} 346 347func (x *Job) GetAttemptDeadline() *durationpb.Duration { 348 if x != nil { 349 return x.AttemptDeadline 350 } 351 return nil 352} 353 354type isJob_Target interface { 355 isJob_Target() 356} 357 358type Job_PubsubTarget struct { 359 // Pub/Sub target. 360 PubsubTarget *PubsubTarget `protobuf:"bytes,4,opt,name=pubsub_target,json=pubsubTarget,proto3,oneof"` 361} 362 363type Job_AppEngineHttpTarget struct { 364 // App Engine HTTP target. 365 AppEngineHttpTarget *AppEngineHttpTarget `protobuf:"bytes,5,opt,name=app_engine_http_target,json=appEngineHttpTarget,proto3,oneof"` 366} 367 368type Job_HttpTarget struct { 369 // HTTP target. 370 HttpTarget *HttpTarget `protobuf:"bytes,6,opt,name=http_target,json=httpTarget,proto3,oneof"` 371} 372 373func (*Job_PubsubTarget) isJob_Target() {} 374 375func (*Job_AppEngineHttpTarget) isJob_Target() {} 376 377func (*Job_HttpTarget) isJob_Target() {} 378 379// Settings that determine the retry behavior. 380// 381// By default, if a job does not complete successfully (meaning that 382// an acknowledgement is not received from the handler, then it will be retried 383// with exponential backoff according to the settings in [RetryConfig][google.cloud.scheduler.v1beta1.RetryConfig]. 384type RetryConfig struct { 385 state protoimpl.MessageState 386 sizeCache protoimpl.SizeCache 387 unknownFields protoimpl.UnknownFields 388 389 // The number of attempts that the system will make to run a job using the 390 // exponential backoff procedure described by 391 // [max_doublings][google.cloud.scheduler.v1beta1.RetryConfig.max_doublings]. 392 // 393 // The default value of retry_count is zero. 394 // 395 // If retry_count is zero, a job attempt will *not* be retried if 396 // it fails. Instead the Cloud Scheduler system will wait for the 397 // next scheduled execution time. 398 // 399 // If retry_count is set to a non-zero number then Cloud Scheduler 400 // will retry failed attempts, using exponential backoff, 401 // retry_count times, or until the next scheduled execution time, 402 // whichever comes first. 403 // 404 // Values greater than 5 and negative values are not allowed. 405 RetryCount int32 `protobuf:"varint,1,opt,name=retry_count,json=retryCount,proto3" json:"retry_count,omitempty"` 406 // The time limit for retrying a failed job, measured from time when an 407 // execution was first attempted. If specified with 408 // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count], the job will be retried until both 409 // limits are reached. 410 // 411 // The default value for max_retry_duration is zero, which means retry 412 // duration is unlimited. 413 MaxRetryDuration *durationpb.Duration `protobuf:"bytes,2,opt,name=max_retry_duration,json=maxRetryDuration,proto3" json:"max_retry_duration,omitempty"` 414 // The minimum amount of time to wait before retrying a job after 415 // it fails. 416 // 417 // The default value of this field is 5 seconds. 418 MinBackoffDuration *durationpb.Duration `protobuf:"bytes,3,opt,name=min_backoff_duration,json=minBackoffDuration,proto3" json:"min_backoff_duration,omitempty"` 419 // The maximum amount of time to wait before retrying a job after 420 // it fails. 421 // 422 // The default value of this field is 1 hour. 423 MaxBackoffDuration *durationpb.Duration `protobuf:"bytes,4,opt,name=max_backoff_duration,json=maxBackoffDuration,proto3" json:"max_backoff_duration,omitempty"` 424 // The time between retries will double `max_doublings` times. 425 // 426 // A job's retry interval starts at 427 // [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration], then doubles 428 // `max_doublings` times, then increases linearly, and finally 429 // retries retries at intervals of 430 // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] up to 431 // [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. 432 // 433 // For example, if [min_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration] is 434 // 10s, [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] is 300s, and 435 // `max_doublings` is 3, then the a job will first be retried in 10s. The 436 // retry interval will double three times, and then increase linearly by 437 // 2^3 * 10s. Finally, the job will retry at intervals of 438 // [max_backoff_duration][google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration] until the job has 439 // been attempted [retry_count][google.cloud.scheduler.v1beta1.RetryConfig.retry_count] times. Thus, the 440 // requests will retry at 10s, 20s, 40s, 80s, 160s, 240s, 300s, 300s, .... 441 // 442 // The default value of this field is 5. 443 MaxDoublings int32 `protobuf:"varint,5,opt,name=max_doublings,json=maxDoublings,proto3" json:"max_doublings,omitempty"` 444} 445 446func (x *RetryConfig) Reset() { 447 *x = RetryConfig{} 448 if protoimpl.UnsafeEnabled { 449 mi := &file_google_cloud_scheduler_v1beta1_job_proto_msgTypes[1] 450 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 451 ms.StoreMessageInfo(mi) 452 } 453} 454 455func (x *RetryConfig) String() string { 456 return protoimpl.X.MessageStringOf(x) 457} 458 459func (*RetryConfig) ProtoMessage() {} 460 461func (x *RetryConfig) ProtoReflect() protoreflect.Message { 462 mi := &file_google_cloud_scheduler_v1beta1_job_proto_msgTypes[1] 463 if protoimpl.UnsafeEnabled && x != nil { 464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 465 if ms.LoadMessageInfo() == nil { 466 ms.StoreMessageInfo(mi) 467 } 468 return ms 469 } 470 return mi.MessageOf(x) 471} 472 473// Deprecated: Use RetryConfig.ProtoReflect.Descriptor instead. 474func (*RetryConfig) Descriptor() ([]byte, []int) { 475 return file_google_cloud_scheduler_v1beta1_job_proto_rawDescGZIP(), []int{1} 476} 477 478func (x *RetryConfig) GetRetryCount() int32 { 479 if x != nil { 480 return x.RetryCount 481 } 482 return 0 483} 484 485func (x *RetryConfig) GetMaxRetryDuration() *durationpb.Duration { 486 if x != nil { 487 return x.MaxRetryDuration 488 } 489 return nil 490} 491 492func (x *RetryConfig) GetMinBackoffDuration() *durationpb.Duration { 493 if x != nil { 494 return x.MinBackoffDuration 495 } 496 return nil 497} 498 499func (x *RetryConfig) GetMaxBackoffDuration() *durationpb.Duration { 500 if x != nil { 501 return x.MaxBackoffDuration 502 } 503 return nil 504} 505 506func (x *RetryConfig) GetMaxDoublings() int32 { 507 if x != nil { 508 return x.MaxDoublings 509 } 510 return 0 511} 512 513var File_google_cloud_scheduler_v1beta1_job_proto protoreflect.FileDescriptor 514 515var file_google_cloud_scheduler_v1beta1_job_proto_rawDesc = []byte{ 516 0x0a, 0x28, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 517 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 518 0x2f, 0x6a, 0x6f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 519 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 520 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 521 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 522 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 523 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x76, 0x31, 524 0x62, 0x65, 0x74, 0x61, 0x31, 0x2f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 525 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 526 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 527 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 528 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 529 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 0x63, 0x2f, 530 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 531 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 532 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x96, 0x08, 0x0a, 0x03, 0x4a, 533 0x6f, 0x62, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 534 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 535 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 536 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x0d, 0x70, 0x75, 0x62, 0x73, 537 0x75, 0x62, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 538 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 539 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 540 0x2e, 0x50, 0x75, 0x62, 0x73, 0x75, 0x62, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x00, 0x52, 541 0x0c, 0x70, 0x75, 0x62, 0x73, 0x75, 0x62, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x6a, 0x0a, 542 0x16, 0x61, 0x70, 0x70, 0x5f, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x5f, 0x68, 0x74, 0x74, 0x70, 543 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 544 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 545 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x41, 546 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x48, 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 547 0x65, 0x74, 0x48, 0x00, 0x52, 0x13, 0x61, 0x70, 0x70, 0x45, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x48, 548 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x4d, 0x0a, 0x0b, 0x68, 0x74, 0x74, 549 0x70, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 550 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 551 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 552 0x48, 0x74, 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x48, 0x00, 0x52, 0x0a, 0x68, 0x74, 553 0x74, 0x70, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x63, 0x68, 0x65, 554 0x64, 0x75, 0x6c, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x63, 0x68, 0x65, 555 0x64, 0x75, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x7a, 0x6f, 0x6e, 556 0x65, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x6f, 0x6e, 557 0x65, 0x12, 0x44, 0x0a, 0x10, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 558 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 559 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 560 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0e, 0x75, 0x73, 0x65, 0x72, 0x55, 0x70, 0x64, 561 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3f, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 562 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 563 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 564 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x2e, 0x4a, 0x6f, 0x62, 0x2e, 0x53, 0x74, 0x61, 0x74, 565 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 566 0x75, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 567 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 568 0x61, 0x74, 0x75, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 569 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 570 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 571 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 572 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x46, 0x0a, 0x11, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x61, 0x74, 573 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 574 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 575 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0f, 0x6c, 0x61, 576 0x73, 0x74, 0x41, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x4e, 0x0a, 577 0x0c, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x13, 0x20, 578 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 579 0x75, 0x64, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 580 0x65, 0x74, 0x61, 0x31, 0x2e, 0x52, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 581 0x52, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x44, 0x0a, 582 0x10, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x5f, 0x64, 0x65, 0x61, 0x64, 0x6c, 0x69, 0x6e, 583 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 584 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 585 0x6f, 0x6e, 0x52, 0x0f, 0x61, 0x74, 0x74, 0x65, 0x6d, 0x70, 0x74, 0x44, 0x65, 0x61, 0x64, 0x6c, 586 0x69, 0x6e, 0x65, 0x22, 0x58, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x15, 0x0a, 0x11, 587 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 588 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x4e, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 589 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x41, 0x55, 0x53, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 590 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x50, 591 0x44, 0x41, 0x54, 0x45, 0x5f, 0x46, 0x41, 0x49, 0x4c, 0x45, 0x44, 0x10, 0x04, 0x3a, 0x5a, 0xea, 592 0x41, 0x57, 0x0a, 0x21, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 593 0x65, 0x72, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 594 0x6d, 0x2f, 0x4a, 0x6f, 0x62, 0x12, 0x32, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 595 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 596 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x7d, 0x2f, 0x6a, 597 0x6f, 0x62, 0x73, 0x2f, 0x7b, 0x6a, 0x6f, 0x62, 0x7d, 0x42, 0x08, 0x0a, 0x06, 0x74, 0x61, 0x72, 598 0x67, 0x65, 0x74, 0x22, 0xb6, 0x02, 0x0a, 0x0b, 0x52, 0x65, 0x74, 0x72, 0x79, 0x43, 0x6f, 0x6e, 599 0x66, 0x69, 0x67, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x75, 600 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x43, 601 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x47, 0x0a, 0x12, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x65, 0x74, 0x72, 602 0x79, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 603 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 604 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6d, 0x61, 0x78, 605 0x52, 0x65, 0x74, 0x72, 0x79, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 606 0x14, 0x6d, 0x69, 0x6e, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x64, 0x75, 0x72, 607 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 608 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 609 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x42, 0x61, 0x63, 0x6b, 0x6f, 610 0x66, 0x66, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x4b, 0x0a, 0x14, 0x6d, 0x61, 611 0x78, 0x5f, 0x62, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x5f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 612 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 613 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 614 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x42, 0x61, 0x63, 0x6b, 0x6f, 0x66, 0x66, 0x44, 615 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x64, 616 0x6f, 0x75, 0x62, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 617 0x6d, 0x61, 0x78, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x69, 0x6e, 0x67, 0x73, 0x42, 0x79, 0x0a, 0x22, 618 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 619 0x2e, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 620 0x61, 0x31, 0x42, 0x08, 0x4a, 0x6f, 0x62, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x47, 621 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 622 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 623 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x63, 0x68, 0x65, 624 0x64, 0x75, 0x6c, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x31, 0x3b, 0x73, 0x63, 625 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x72, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 626} 627 628var ( 629 file_google_cloud_scheduler_v1beta1_job_proto_rawDescOnce sync.Once 630 file_google_cloud_scheduler_v1beta1_job_proto_rawDescData = file_google_cloud_scheduler_v1beta1_job_proto_rawDesc 631) 632 633func file_google_cloud_scheduler_v1beta1_job_proto_rawDescGZIP() []byte { 634 file_google_cloud_scheduler_v1beta1_job_proto_rawDescOnce.Do(func() { 635 file_google_cloud_scheduler_v1beta1_job_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_scheduler_v1beta1_job_proto_rawDescData) 636 }) 637 return file_google_cloud_scheduler_v1beta1_job_proto_rawDescData 638} 639 640var file_google_cloud_scheduler_v1beta1_job_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 641var file_google_cloud_scheduler_v1beta1_job_proto_msgTypes = make([]protoimpl.MessageInfo, 2) 642var file_google_cloud_scheduler_v1beta1_job_proto_goTypes = []interface{}{ 643 (Job_State)(0), // 0: google.cloud.scheduler.v1beta1.Job.State 644 (*Job)(nil), // 1: google.cloud.scheduler.v1beta1.Job 645 (*RetryConfig)(nil), // 2: google.cloud.scheduler.v1beta1.RetryConfig 646 (*PubsubTarget)(nil), // 3: google.cloud.scheduler.v1beta1.PubsubTarget 647 (*AppEngineHttpTarget)(nil), // 4: google.cloud.scheduler.v1beta1.AppEngineHttpTarget 648 (*HttpTarget)(nil), // 5: google.cloud.scheduler.v1beta1.HttpTarget 649 (*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp 650 (*status.Status)(nil), // 7: google.rpc.Status 651 (*durationpb.Duration)(nil), // 8: google.protobuf.Duration 652} 653var file_google_cloud_scheduler_v1beta1_job_proto_depIdxs = []int32{ 654 3, // 0: google.cloud.scheduler.v1beta1.Job.pubsub_target:type_name -> google.cloud.scheduler.v1beta1.PubsubTarget 655 4, // 1: google.cloud.scheduler.v1beta1.Job.app_engine_http_target:type_name -> google.cloud.scheduler.v1beta1.AppEngineHttpTarget 656 5, // 2: google.cloud.scheduler.v1beta1.Job.http_target:type_name -> google.cloud.scheduler.v1beta1.HttpTarget 657 6, // 3: google.cloud.scheduler.v1beta1.Job.user_update_time:type_name -> google.protobuf.Timestamp 658 0, // 4: google.cloud.scheduler.v1beta1.Job.state:type_name -> google.cloud.scheduler.v1beta1.Job.State 659 7, // 5: google.cloud.scheduler.v1beta1.Job.status:type_name -> google.rpc.Status 660 6, // 6: google.cloud.scheduler.v1beta1.Job.schedule_time:type_name -> google.protobuf.Timestamp 661 6, // 7: google.cloud.scheduler.v1beta1.Job.last_attempt_time:type_name -> google.protobuf.Timestamp 662 2, // 8: google.cloud.scheduler.v1beta1.Job.retry_config:type_name -> google.cloud.scheduler.v1beta1.RetryConfig 663 8, // 9: google.cloud.scheduler.v1beta1.Job.attempt_deadline:type_name -> google.protobuf.Duration 664 8, // 10: google.cloud.scheduler.v1beta1.RetryConfig.max_retry_duration:type_name -> google.protobuf.Duration 665 8, // 11: google.cloud.scheduler.v1beta1.RetryConfig.min_backoff_duration:type_name -> google.protobuf.Duration 666 8, // 12: google.cloud.scheduler.v1beta1.RetryConfig.max_backoff_duration:type_name -> google.protobuf.Duration 667 13, // [13:13] is the sub-list for method output_type 668 13, // [13:13] is the sub-list for method input_type 669 13, // [13:13] is the sub-list for extension type_name 670 13, // [13:13] is the sub-list for extension extendee 671 0, // [0:13] is the sub-list for field type_name 672} 673 674func init() { file_google_cloud_scheduler_v1beta1_job_proto_init() } 675func file_google_cloud_scheduler_v1beta1_job_proto_init() { 676 if File_google_cloud_scheduler_v1beta1_job_proto != nil { 677 return 678 } 679 file_google_cloud_scheduler_v1beta1_target_proto_init() 680 if !protoimpl.UnsafeEnabled { 681 file_google_cloud_scheduler_v1beta1_job_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 682 switch v := v.(*Job); i { 683 case 0: 684 return &v.state 685 case 1: 686 return &v.sizeCache 687 case 2: 688 return &v.unknownFields 689 default: 690 return nil 691 } 692 } 693 file_google_cloud_scheduler_v1beta1_job_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 694 switch v := v.(*RetryConfig); i { 695 case 0: 696 return &v.state 697 case 1: 698 return &v.sizeCache 699 case 2: 700 return &v.unknownFields 701 default: 702 return nil 703 } 704 } 705 } 706 file_google_cloud_scheduler_v1beta1_job_proto_msgTypes[0].OneofWrappers = []interface{}{ 707 (*Job_PubsubTarget)(nil), 708 (*Job_AppEngineHttpTarget)(nil), 709 (*Job_HttpTarget)(nil), 710 } 711 type x struct{} 712 out := protoimpl.TypeBuilder{ 713 File: protoimpl.DescBuilder{ 714 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 715 RawDescriptor: file_google_cloud_scheduler_v1beta1_job_proto_rawDesc, 716 NumEnums: 1, 717 NumMessages: 2, 718 NumExtensions: 0, 719 NumServices: 0, 720 }, 721 GoTypes: file_google_cloud_scheduler_v1beta1_job_proto_goTypes, 722 DependencyIndexes: file_google_cloud_scheduler_v1beta1_job_proto_depIdxs, 723 EnumInfos: file_google_cloud_scheduler_v1beta1_job_proto_enumTypes, 724 MessageInfos: file_google_cloud_scheduler_v1beta1_job_proto_msgTypes, 725 }.Build() 726 File_google_cloud_scheduler_v1beta1_job_proto = out.File 727 file_google_cloud_scheduler_v1beta1_job_proto_rawDesc = nil 728 file_google_cloud_scheduler_v1beta1_job_proto_goTypes = nil 729 file_google_cloud_scheduler_v1beta1_job_proto_depIdxs = nil 730} 731