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